Updating addressing on a running Sawtooth application
You can read all the current addresses and write the value to the new address. Use the delete_state in the SDK to delete the old state variable. The data will remain in previously-created blocks (which are immutable), but will not be in the current blockchain state.
I have an application (dev stage) running on one validator, one transaction processor and client. I would like to update the way I create addresses. If I change the way I create addresses, the old addresses won't be accessible. I would like to know what is the practice that should be followed in order to achieve the aforementioned.
Right now, if I make any changes at the processor level, I simply flush the existing blockchain and create a new genesis block and start over. I know this isn't the way it should be.
Please advise.