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

Update BankHashDetails to include EpochAccountsHash #2466

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

steviez
Copy link

@steviez steviez commented Aug 6, 2024

Problem

The EpochAccountsHash gets mixed into a Bank hash once an epoch. It is
just as important as the other items, and it was an oversight for the
field not to be included to BankHashDetails.

Summary of Changes

So, add EpochAccountsHash into BankHashDetails

runtime/src/bank/bank_hash_details.rs Outdated Show resolved Hide resolved
runtime/src/bank/bank_hash_details.rs Outdated Show resolved Hide resolved
@steviez steviez requested a review from brooksprumo August 6, 2024 22:57
accounts-db/src/epoch_accounts_hash.rs Outdated Show resolved Hide resolved
runtime/src/bank/bank_hash_details.rs Outdated Show resolved Hide resolved
runtime/src/bank/bank_hash_details.rs Outdated Show resolved Hide resolved
@steviez steviez requested a review from brooksprumo August 19, 2024 22:36
runtime/src/bank.rs Outdated Show resolved Hide resolved
runtime/src/bank/bank_hash_details.rs Outdated Show resolved Hide resolved
The EpochAccountsHash gets mixed into a Bank hash once an epoch. It is
just as important as the other items, and it was an oversight for the
field not to be included to BankHashDetails.

So, add EpochAccountsHash into BankHashDetails
Copy link
Author

@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.

I had to rebase in order to resolve a conflict. The reason for the conflict shifted some things around and rebasing got a little messy. Given that and how small the PR is, so I squashed the commits to "reset" the review process in a sense. Given that it is only 11 lines, I don't see this as a huge deal so hopefully you agree 😅

runtime/src/bank.rs Outdated Show resolved Hide resolved
@steviez steviez requested a review from brooksprumo August 20, 2024 21:21
@steviez steviez merged commit 77b4d13 into anza-xyz:master Aug 21, 2024
40 checks passed
@steviez steviez deleted the slot_details_eah branch August 21, 2024 04:03
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
The EpochAccountsHash gets mixed into a Bank hash once an epoch. It is
just as important as the other items, and it was an oversight for the
field not to be included to BankHashDetails.

So, add EpochAccountsHash into BankHashDetails
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