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

feat: Migrate SNS commands #154

Merged
merged 3 commits into from
Feb 7, 2023
Merged

feat: Migrate SNS commands #154

merged 3 commits into from
Feb 7, 2023

Conversation

adamspofford-dfinity
Copy link
Contributor

@adamspofford-dfinity adamspofford-dfinity commented Feb 3, 2023

Merges sns-quill with quill. Implements SDK-933. All sns-quill commands can now be found under a quill sns subcommand.

Quill previously only dealt with fixed canisters, but SNSes can be anywhere; to that end, the message JSON format now has a role field, to mark what sort of canister it is supposed to be, so that the program sending the message can render the response without needing the original command. This will get more use with for example future ICRC-1 support. Verified manually that it does not cause any problems with the QR scanner.

sns-quill commands that did not write messages, such as sns-quill qr, were not migrated as the functionality already exists in quill. The test outputs were copied verbatim from the sns-quill repo rather than regenerated.

@lwshang
Copy link
Contributor

lwshang commented Feb 7, 2023

Several sns-quill PRs by Martin were merged recently. Especially, dfinity/sns-quill#36.

Could you apply those changes here?

@lwshang lwshang merged commit 1356154 into master Feb 7, 2023
@lwshang lwshang deleted the sns branch February 7, 2023 18:23
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