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

bank hash details supports skipped rewrites #1648

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

brooksprumo
Copy link

Problem

The bank hash details file is very valuable when investigating hash mismatch issues. We're running into a hash mismatch issue when testing out skipping rewrites and packing ancient storages. Unfortunately, the bank hash details file is not helpful for inspecting the actual accounts, since it does not include the skipped rewrites accounts.

Summary of Changes

When getting the accounts for bank hash details, also get any skipped rewrite accounts.

@brooksprumo brooksprumo self-assigned this Jun 7, 2024
@brooksprumo brooksprumo marked this pull request as ready for review June 7, 2024 18:14
jeffwashington
jeffwashington previously approved these changes Jun 10, 2024
Copy link

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link

@steviez steviez left a comment

Choose a reason for hiding this comment

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

Logic overall looks fine, just a couple minor things

runtime/src/bank.rs Outdated Show resolved Hide resolved
runtime/src/bank.rs Outdated Show resolved Hide resolved
runtime/src/bank/tests.rs Show resolved Hide resolved
Copy link

@steviez steviez left a comment

Choose a reason for hiding this comment

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

LGTM

@brooksprumo brooksprumo merged commit 52b82eb into anza-xyz:master Jun 11, 2024
40 checks passed
@brooksprumo brooksprumo deleted the rewrites/bank-hash-details branch June 11, 2024 16:16
samkim-crypto pushed a commit to samkim-crypto/agave that referenced this pull request Jul 31, 2024
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.

3 participants