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

refactor(ckbtc): use IC CDK to interact with Bitcoin canister #2921

Merged
merged 10 commits into from
Dec 6, 2024

Conversation

lpahlavi
Copy link
Contributor

@lpahlavi lpahlavi commented Dec 2, 2024

(XC-229) Interact with the Bitcoin canister through the IC CDK instead of the management canister within the ckBTC minter.

@lpahlavi lpahlavi added the CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 label Dec 3, 2024
@lpahlavi lpahlavi force-pushed the lpahlavi/XC-229-use-ic-cdk-for-bitcoin-canister branch from f3c2cc5 to 9079874 Compare December 3, 2024 14:06
@lpahlavi lpahlavi marked this pull request as ready for review December 3, 2024 14:49
@lpahlavi lpahlavi requested a review from a team as a code owner December 3, 2024 14:49
Copy link
Member

@gregorydemay gregorydemay left a comment

Choose a reason for hiding this comment

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

Thanks @lpahlavi for this PR! Only some very minor comments, otherwise code looks very good to me!

rs/bitcoin/ckbtc/minter/src/management.rs Outdated Show resolved Hide resolved
rs/bitcoin/ckbtc/minter/src/management.rs Show resolved Hide resolved
rs/bitcoin/ckbtc/minter/src/management.rs Outdated Show resolved Hide resolved
@lpahlavi
Copy link
Contributor Author

lpahlavi commented Dec 4, 2024

Thank you for the review @gregorydemay, I've incorporated your feedback!

Copy link
Member

@ninegua ninegua left a comment

Choose a reason for hiding this comment

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

Nice! Made some minor suggestions

rs/bitcoin/ckbtc/minter/src/management.rs Outdated Show resolved Hide resolved
rs/bitcoin/ckbtc/minter/src/management.rs Outdated Show resolved Hide resolved
rs/bitcoin/mock/src/main.rs Outdated Show resolved Hide resolved
@lpahlavi
Copy link
Contributor Author

lpahlavi commented Dec 5, 2024

@ninegua Thank a lot for your feedback! I'd missed the built-in conversion between Network and NetworkInRequest, looks much better now :)

@lpahlavi lpahlavi enabled auto-merge December 6, 2024 13:03
@lpahlavi lpahlavi added this pull request to the merge queue Dec 6, 2024
Merged via the queue into master with commit ed85428 Dec 6, 2024
25 checks passed
@lpahlavi lpahlavi deleted the lpahlavi/XC-229-use-ic-cdk-for-bitcoin-canister branch December 6, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 @cross-chain-team refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants