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

chore(ckbtc): Remove empty ReceivedUtxos events from event log #3434

Merged
merged 8 commits into from
Jan 22, 2025

Conversation

ninegua
Copy link
Member

@ninegua ninegua commented Jan 14, 2025

XC-239: ckBTC minter: Clean-up event logs

For historical reasons, ckBTC mainnet canister has a lot of ReceivedUtxos with empty Utxos, which is removed by this PR.

@github-actions github-actions bot added the chore label Jan 14, 2025
@ninegua ninegua marked this pull request as ready for review January 14, 2025 10:52
@ninegua ninegua requested a review from a team as a code owner January 14, 2025 10:52
@ninegua ninegua added the CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 label Jan 14, 2025
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 @ninegua for this PR! Generally looks good to me, just some minor question/comments

rs/bitcoin/ckbtc/minter/BUILD.bazel Show resolved Hide resolved
rs/bitcoin/ckbtc/minter/src/storage.rs Outdated Show resolved Hide resolved
rs/bitcoin/ckbtc/minter/tests/replay_events.rs Outdated Show resolved Hide resolved
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 @ninegua for the changes! To me the changes look good! There is one open comment left related how to ensure that we can indeed do the migration within the post_upgrade (and not run into the instruction limit for example).

rs/bitcoin/ckbtc/minter/BUILD.bazel Show resolved Hide resolved
@ninegua ninegua added this pull request to the merge queue Jan 22, 2025
Merged via the queue into master with commit f52dbf1 Jan 22, 2025
25 checks passed
@ninegua ninegua deleted the paulliu/remove-empty-utxos-event-log branch January 22, 2025 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore CI_ALL_BAZEL_TARGETS Runs all bazel targets and uploads them to S3 @cross-chain-team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants