Skip to content

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

Merged
lwshang merged 3 commits intomasterfrom
mraszyk/proposal-path-loads-binary-content
Feb 14, 2023
Merged

make --proposal-path load binary encoding of the proposal candid record#160
lwshang merged 3 commits intomasterfrom
mraszyk/proposal-path-loads-binary-content

Conversation

@mraszyk
Copy link
Copy Markdown
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