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: configure CMC to play nice with cycles ledger #72

Merged
merged 7 commits into from
Feb 7, 2024

Conversation

sesi200
Copy link
Contributor

@sesi200 sesi200 commented Feb 6, 2024

No description provided.

@sesi200 sesi200 marked this pull request as ready for review February 6, 2024 10:53
@sesi200 sesi200 requested review from a team as code owners February 6, 2024 10:53
canister_name: "cycles_ledger",
canister_id: "um5iw-rqaaa-aaaaq-qaaba-cai",
wasm_name: "cycles_ledger.wasm.gz",
wasm_url: "https://github.com/dfinity/cycles-ledger/releases/latest/download/cycles-ledger.wasm.gz",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes builds and tests non-reproducible, if they depend on this extension. It's already a problem that this is the case for II and nns-dapp, above. Do we need to have the same issue with the cycles-ledger?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've asked that this issue with II and nns-dapp be corrected in #60

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair point. No, this is not needed, and we can make the update script keep this up to date if we ever want the extension to install the cylces ledger

Comment on lines 512 to 514
.unwrap(),
)
.unwrap();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the unwrap on Encode!() I can go along with, .write_all().unwrap() probably not

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, and there were more mistakes. I must have dropped the self-review somehow

@sesi200 sesi200 merged commit 6983dc7 into main Feb 7, 2024
7 checks passed
@sesi200 sesi200 deleted the severin/cmc-knows-about-cycles-ledger branch February 7, 2024 07:00
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