-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '@anchpop/get-proposal-id' into 'master'
NNS1-3061: Render the proposal ID in UpgradeSnsToNextVersion proposals ## Problem When viewing an UpgradeSnsToNextVersion proposal, you might be interested to know what's new in the new version. This information is in the NNS proposal that blessed the version being upgraded to. ## Solution As of a recent MR this information is stored in SNS-W (in `SnsWasm`). This MR puts the proposal ID into the payload text rendering of the proposal. If SnsWasm doesn't have the proposal ID for an SNS version (which should never happen in the context of this MR), nothing is added to the proposal text. ## Open questions This MR just requests the whole SnsWasm in `validate_and_render_upgrade_sns_to_next_version`. This is somewhat wasteful since we only need the proposal Id, and SnsWasm contains the proposal ID along with the entire wasm. In the future we could add a new endpoint to SNS-W which only returns the proposal ID. Closes NNS1-3061 Closes NNS1-3061 See merge request dfinity-lab/public/ic!19301
- Loading branch information
Showing
3 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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