chevdor / subwasm

Subwasm is a cli utility to look inside a Substrate WASM Runtime. It can inspect and compare the metadata of Substrate based runtimes such as Polkadot or Kusama.
MIT License
62 stars 25 forks source link

Update `AUTHORIZE_UPGRADE_PREFIX` #64

Closed AurevoirXavier closed 1 year ago

AurevoirXavier commented 1 year ago

Adapt https://github.com/paritytech/cumulus/blob/bbb2c6cb25a511f1296b431833e52c4d965e01d8/pallets/parachain-system/src/lib.rs#L468.

Sorry, I found there was already a #62.

But I also update the test cases and the docs.

@chevdor

chevdor commented 1 year ago

Thanks for the PR, could you merge #62 in your PR so we have everything in one place ?

The main difference is the use of a const so we have the 0x02 value in one single place.

AurevoirXavier commented 1 year ago

Please merge #62 so we can close #62 and focus on #64. The const introduced in #62 could become helpful.

Thanks for the PR, could you merge #62 in your PR so we have everything in one place ?

The main difference is the use of a const so we have the 0x02 value in one single place.

Done