Skip to content

Conversation

@akhi3030
Copy link
Contributor

Instead of using BlockFooterV1 in code and relying on the caller to ensure that validation checks have been performed, introduce a new type to give us that guarantee.

block_user_agent,
} = footer;
let block_producer_time_ns = validate_clock(parent_bank, bank, block_producer_time_nanos)?;
if bank_hash != bank.hash() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

feedback from Ashwin. This check cannot be performed yet because the bank is not frozen yet.

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