Skip to content

Commit

Permalink
improve tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Nov 14, 2024
1 parent 7fdc7a6 commit c1dee02
Show file tree
Hide file tree
Showing 2 changed files with 248 additions and 297 deletions.
8 changes: 8 additions & 0 deletions crates/consensus/src/fork/electra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ pub const ELECTRA_FORK_SPEC: ForkSpec = ForkSpec {
next_sync_committee_gindex: 87,
..deneb::DENEB_FORK_SPEC
};

pub type ExecutionPayloadHeader<
const BYTES_PER_LOGS_BLOOM: usize,
const MAX_EXTRA_DATA_BYTES: usize,
> = deneb::ExecutionPayloadHeader<BYTES_PER_LOGS_BLOOM, MAX_EXTRA_DATA_BYTES>;

pub type LightClientHeader<const BYTES_PER_LOGS_BLOOM: usize, const MAX_EXTRA_DATA_BYTES: usize> =
deneb::LightClientHeader<BYTES_PER_LOGS_BLOOM, MAX_EXTRA_DATA_BYTES>;
Loading

0 comments on commit c1dee02

Please sign in to comment.