Skip to content
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

make --proposal-path load binary encoding of the proposal candid record #160

Merged
merged 3 commits into from
Feb 14, 2023

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Feb 14, 2023

The --proposal-path of the sns make-proposal command now takes the binary encoding of the proposal candid record (instead of the textual representation). This is more convenient for providing proposals that need to be auto-generated (e.g., because they contain large binary payloads) as the generator can simply Encode! the Rust struct for the proposal rather than messing with candid IDLValues to get a pretty-printing (textual representation) of the proposal candid record.

@lwshang lwshang merged commit aaa663d into master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants