Repository navigation
feat(nns-release-tools): More ergonomic NNS & SNS upgrade proposals. - #1046
Merged
daniel-wong-dfinity-org merged 9 commits intoAug 23, 2024
Conversation
…pgrading NNS canisters in an earlier commit today.
…d entire pre-built WASM. Instead, they just make sure that it exists. Previously, a full download was needed to get WASM hash, but this is no longer used.
Bownairo
approved these changes
Aug 21, 2024
daniel-wong-dfinity-org
enabled auto-merge
August 21, 2024 22:54
sasa-tomic
approved these changes
Aug 22, 2024
sasa-tomic
left a comment
Contributor
There was a problem hiding this comment.
Approving, but will still share a general comment: bash should not be used for scripts longer than a few lines. Bash scripts are not modular, testable, very readable, and generally they are not maintainable. So it would be really good if used Rust for this instead.
We already have a DRE tool in the other repo, which interacts with ic-admin, or there could be a tool in this repo, I wouldn't mind either way.
Contributor
Author
Not sure what this is referring to? |
max-dfinity
reviewed
Aug 22, 2024
max-dfinity
reviewed
Aug 22, 2024
max-dfinity
reviewed
Aug 22, 2024
max-dfinity
approved these changes
Aug 22, 2024
daniel-wong-dfinity-org
deleted the
more-ergonomic-nns-upgrade-proposals-2024-08-21-daniel-wong
branch
August 23, 2024 18:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Various changes that IMHO make NNS canister upgrade and SNS publish proposals easier to generate, submit, and read.
ic-admincall failed, the proposal submission script would still finish successfully. Now, our wrapper scripts also fails in that case.curl --head ...). (Previously, downloading the whole thing was necessary, since we wanted to insert the WASM hash into the proposal text, but as mentioned earlier, we got rid of this.)