Skip to content

feat(ic-admin): Print hashes rather than entire blobs when submitting InstallCode proposals - #1093

Merged
jasonz-dfinity merged 2 commits into
masterfrom
jason/ic-admin-better-install-code-output
Aug 23, 2024
Merged

jasonz-dfinity merged 2 commits into
masterfrom
jason/ic-admin-better-install-code-output

Conversation

@jasonz-dfinity

@jasonz-dfinity jasonz-dfinity commented Aug 23, 2024 •

Copy link
Copy Markdown
Contributor

Why

Currently, the ic-admin prints the entire WASM when submitting the InstallCode proposal. We want to only print hashes.

What

When printing InstallCode proposals, we convert it into the "response" API type which contains only hashes.

Alternative

Ideally, we'd like to implement custom Debug trait. However, currently it's impossible to do so while the proposal API type is still prost:message which already derives Debug trait.

@jasonz-dfinity
jasonz-dfinity requested a review from a team as a code owner August 23, 2024 04:52
@github-actions github-actions Bot added the feat label Aug 23, 2024
@jasonz-dfinity
jasonz-dfinity force-pushed the jason/ic-admin-better-install-code-output branch from 887fb81 to 59bf279 Compare August 23, 2024 17:25
@jasonz-dfinity
jasonz-dfinity added this pull request to the merge queue Aug 23, 2024
Merged via the queue into master with commit d436a52 Aug 23, 2024
@jasonz-dfinity
jasonz-dfinity deleted the jason/ic-admin-better-install-code-output branch August 23, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants