This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Start working on beacon block sync * Progress on beacon block verification * Beacon block verification * Block proof progress * Updates ssz_rs version with transactions panic fix. * Use tested individual merkleization functions in beacon block proof * Beacon block proof works * Beacon block with transactions and attester slashing also works * Pins byte-slice-cast version, checks rust version * remove ssz_rs rev * Tries updating Rust version * Updates ssz-rs name and version * Updates ssz-rs version * Updates ssz-rs-derive too * Moves Beacon structs into primitives * Adds new beacon primitive files * Fixes no-std issues. * Cleanup and refactor. * More cleanup * PR comments * Merged main Co-authored-by: claravanstaden <Cats 4 life!>
- Loading branch information
1 parent
af5434c
commit 1b5d8d5
Showing
15 changed files
with
4,184 additions
and
916 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pub const MAX_PROPOSER_SLASHINGS: usize = 16; | ||
|
||
pub const MAX_ATTESTER_SLASHINGS: usize = 2; | ||
|
||
pub const MAX_ATTESTATIONS: usize = 128; | ||
|
||
pub const MAX_DEPOSITS: usize = 16; | ||
|
||
pub const MAX_VOLUNTARY_EXITS: usize = 16; | ||
|
||
pub const MAX_VALIDATORS_PER_COMMITTEE: usize = 2048; | ||
|
||
pub const DEPOSIT_CONTRACT_TREE_DEPTH: usize = 32; | ||
|
||
pub const MAX_BYTES_PER_TRANSACTION: usize = 1073741824; | ||
|
||
pub const MAX_TRANSACTIONS_PER_PAYLOAD: usize = 1048576; | ||
|
||
pub const MAX_EXTRA_DATA_BYTES: usize = 32; | ||
|
||
pub const SYNC_COMMITTEE_SIZE: usize = 512; |
Oops, something went wrong.