-
Notifications
You must be signed in to change notification settings - Fork 21
feat: add parachain_system.authorize_upgrade call hash to output
#49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
16e5862
1bfd1e6
d16e7a9
a2449cd
bf1546f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,25 +11,27 @@ Summary generated with {{ gen }} using the docker image {{ context.docker.image | |
| Time : {{ tmsp }} | ||
|
|
||
| == Compact | ||
| Version : {{ runtimes.compact.subwasm.core_version }} | ||
| Metadata : V{{ runtimes.compact.subwasm.metadata_version }} | ||
| Size : {{ runtimes.compact.size | int | filesizeformat }} ({{ runtimes.compact.size }} bytes) | ||
| Proposal : {{ runtimes.compact.prop }} | ||
| IPFS : {{ runtimes.compact.ipfs }} | ||
| BLAKE2_256 : {{ runtimes.compact.blake2_256 }} | ||
| Wasm : {{ runtimes.compact.wasm }} | ||
| Version : {{ runtimes.compact.subwasm.core_version }} | ||
| Metadata : V{{ runtimes.compact.subwasm.metadata_version }} | ||
| Size : {{ runtimes.compact.size | int | filesizeformat }} ({{ runtimes.compact.size }} bytes) | ||
| system.setCode proposal : {{ runtimes.compact.set_code_prop }} | ||
| parachainSystem.authorizeUpgrade proposal : {{ runtimes.compact.authorize_upgrade_prop }} | ||
|
||
| IPFS : {{ runtimes.compact.ipfs }} | ||
| BLAKE2_256 : {{ runtimes.compact.blake2_256 }} | ||
| Wasm : {{ runtimes.compact.wasm }} | ||
|
|
||
| == Compressed | ||
| {%- if runtimes.compressed %} | ||
| {%- set ratio = 100 - (( runtimes.compressed.subwasm.compression.size_compressed / runtimes.compressed.subwasm.compression.size_decompressed) ) * 100 %} | ||
| Version : {{ runtimes.compressed.subwasm.core_version }} | ||
| Metadata : V{{ runtimes.compressed.subwasm.metadata_version }} | ||
| Size : {{ runtimes.compressed.size | int | filesizeformat }} ({{ runtimes.compressed.size }} bytes) | ||
| Compression : {{ ratio | round(method="ceil", precision=2) }}% | ||
| Proposal : {{ runtimes.compressed.prop }} | ||
| IPFS : {{ runtimes.compressed.ipfs }} | ||
| BLAKE2_256 : {{ runtimes.compressed.blake2_256 }} | ||
| Wasm : {{ runtimes.compressed.wasm }} | ||
| Version : {{ runtimes.compressed.subwasm.core_version }} | ||
| Metadata : V{{ runtimes.compressed.subwasm.metadata_version }} | ||
| Size : {{ runtimes.compressed.size | int | filesizeformat }} ({{ runtimes.compressed.size }} bytes) | ||
| Compression : {{ ratio | round(method="ceil", precision=2) }}% | ||
| system.setCode proposal : {{ runtimes.compressed.set_code_prop }} | ||
| parachainSystem.authorizeUpgrade proposal : {{ runtimes.compressed.authorize_upgrade_prop }} | ||
| IPFS : {{ runtimes.compressed.ipfs }} | ||
| BLAKE2_256 : {{ runtimes.compressed.blake2_256 }} | ||
| Wasm : {{ runtimes.compressed.wasm }} | ||
| {% else %} | ||
| No compressed runtime found | ||
| {% endif %} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to keep the legacy
propto avoid breaking all the CI depending onsrtooland its output.If you think the new
set_code_prop(way clearer definitely) is a must, we could add it as well and drop a comment thatpropis now deprecated and will be removed in the future.Ideally we'd line up the PR for the removal of
propalready now but merge only later and make sure it comes with a big BREAKING warning.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I would say let's stick with having the new line in. I reverted the change -> 1bfd1e6
Also noticed there was a copy-paste issue between the
analyseand thebuildscripts ^^ -> a2449cdThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could keep your renaming of
PROPintoSET_CODE_PROP, this is nice IMO.Same around all you introduced, the naming is nicer, I would then only need
propto be still availble for now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mhh yeah, that's true. But there would be a repeated line which I am not sure is a nice thing to have. We, at KILT, do of course delete lines that are not relevant for new releases, but do you think it would still be good to have two different properties that mean the same thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like duplication but breaking compat. is not an option. If we do break compat. it would be good to wait for a change or a set of changes that are worth it.
I do like your renaming but I think it may not be worth the "troubles" in the end.
The duplication would not remain on the long run but the more I think about it and the more I prefer to keep the legacy name even if this is less accurate with your change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I agree on rather leaving the old name, and maybe make a ticket (or whatever you use to track things) to rename it in the next breaking change.