-
Notifications
You must be signed in to change notification settings - Fork 379
Implement storage_changes_root
in validation context
#37
Comments
I do not know a lot about the code you've pointed, but it looks like it only has an access to the partial state storage. Changes tries (and therefore A few more words on that - the proof of |
Yeah the code linked is Cumulus related, I will give you a more detailed explanation. Cumulus will need to generate code to execute a block on a parachain validator that does not have the full state of the parachain. For that, we have this So, we will need to replicate all the storage functions inside of the parachain wasm-blob that is registered on the relay-chain. |
Depends on: #129 |
Functionality was removed. |
…tech#46) * moved some helper functions from chain_spec.rs -> chain_spec_helpers.rs * changed encointer-root-key fmt into it's SS58 representation to be consistent with the rest. Tested that local chains produce blocks. Closes paritytech#37.
We need a proper implementation of https://github.com/paritytech/cumulus/blob/master/runtime/src/validate_block/implementation.rs#L261-L264 (
host_storage_changes_root
).CC @svyatonik could we make the implementation of
storage_changes_root
no_std
compatible in Substrate? Than we could reuse it here directly.The text was updated successfully, but these errors were encountered: