-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'jason/NNS1-3045' into 'master'
fix(sns): NNS1-3045 Truncate the logo fields in ManageSnsMetadata/ManageLedgerParameters from list_proposals response Note that we are not truncating within get_propsal, in the same way as the UpgradeSnsControlledCanister and ExecuteGenericNervousSystemFunction payloads ("summarize blob fields" [here](https://sourcegraph.com/github.com/dfinity/ic@29e29f33844c16cdc7a815390ecb48a644b982e4/-/blob/rs/sns/governance/src/types.rs?L1641)). This is because there is no other way to get the logos in the proposal verifiably, where as UpgradeSnsControlledCanister has the wasm hash, while ExecuteGenericNervousSystemFunction has the validator mechanism. On the other hand, it's not as crucial for get_proposal to return small enough response since it's just for one proposal, and logos are still bounded at \~300KiB. Closes NNS1-3045 Closes NNS1-3045 See merge request dfinity-lab/public/ic!19135
- Loading branch information
Showing
2 changed files
with
101 additions
and
1 deletion.
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