-
Notifications
You must be signed in to change notification settings - Fork 665
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[stateless_validaiton] Skip validation of state witness for chunk rig…
…ht after genesis (#10487) We are skipping state witness validation for the chunk right after genesis chunk due to some complications of trying to run the genesis chunk in runtime (it's not possible to do so). Initially this edge case check was a part of `send_chunk_state_witness_to_chunk_validators` and we didn't send state witness at all. This has an issue that we do not process and send chunk endorsements either due to this. Instead pushed this check into `process_chunk_state_witness` and we send chunk endorsements for this special case. --------- Co-authored-by: Aleksandr Logunov <[email protected]>
- Loading branch information
1 parent
3b3b54b
commit 669df43
Showing
3 changed files
with
55 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters