-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bound finalized header, execution header and sync committee by RingBu…
…ffer and BoundedVec (#815) * add ringbuffer to limit the storage * Refactoring & Fix relayer * More refactoring * Some polish * Some polish --------- Co-authored-by: Parth Desai <[email protected]>
- Loading branch information
1 parent
67d5a05
commit 50b8306
Showing
19 changed files
with
470 additions
and
123 deletions.
There are no files selected for viewing
Submodule cumulus
updated
1 files
+9 −0 | parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs |
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
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
8 changes: 4 additions & 4 deletions
8
parachain/pallets/ethereum-beacon-client/src/config/mainnet.rs
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
pub const SLOTS_PER_EPOCH: u64 = 32; | ||
pub const SECONDS_PER_SLOT: u64 = 12; | ||
pub const EPOCHS_PER_SYNC_COMMITTEE_PERIOD: u64 = 256; | ||
pub const SLOTS_PER_EPOCH: usize = 32; | ||
pub const SECONDS_PER_SLOT: usize = 12; | ||
pub const EPOCHS_PER_SYNC_COMMITTEE_PERIOD: usize = 256; | ||
pub const SYNC_COMMITTEE_SIZE: usize = 512; | ||
pub const SYNC_COMMITTEE_BITS_SIZE: usize = SYNC_COMMITTEE_SIZE / 8; | ||
pub const SLOTS_PER_HISTORICAL_ROOT: usize = 8192; | ||
pub const IS_MINIMAL: bool = false; | ||
pub const BLOCK_ROOT_AT_INDEX_PROOF_DEPTH: u64 = 13; | ||
pub const BLOCK_ROOT_AT_INDEX_PROOF_DEPTH: usize = 13; |
8 changes: 4 additions & 4 deletions
8
parachain/pallets/ethereum-beacon-client/src/config/minimal.rs
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
pub const SLOTS_PER_EPOCH: u64 = 8; | ||
pub const SECONDS_PER_SLOT: u64 = 6; | ||
pub const EPOCHS_PER_SYNC_COMMITTEE_PERIOD: u64 = 8; | ||
pub const SLOTS_PER_EPOCH: usize = 8; | ||
pub const SECONDS_PER_SLOT: usize = 6; | ||
pub const EPOCHS_PER_SYNC_COMMITTEE_PERIOD: usize = 8; | ||
pub const SYNC_COMMITTEE_SIZE: usize = 32; | ||
pub const SYNC_COMMITTEE_BITS_SIZE: usize = SYNC_COMMITTEE_SIZE / 8; | ||
pub const SLOTS_PER_HISTORICAL_ROOT: usize = 64; | ||
pub const IS_MINIMAL: bool = true; | ||
pub const BLOCK_ROOT_AT_INDEX_PROOF_DEPTH: u64 = 6; | ||
pub const BLOCK_ROOT_AT_INDEX_PROOF_DEPTH: usize = 6; |
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
Oops, something went wrong.