Skip to content

Commit

Permalink
add todo about random_block roots
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected committed Jul 18, 2023
1 parent 5359eab commit 0e5eabd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/consensus/beacon/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2491,6 +2491,9 @@ mod tests {
SealedBlock { header: chain_spec.sealed_genesis_header(), ..Default::default() };
let block1 = random_block(&mut rng, 1, Some(chain_spec.genesis_hash()), None, Some(0));

// TODO: add transactions that transfer from the alloc accounts, generating the new
// block tx and state root

insert_blocks(env.db.as_ref(), chain_spec.clone(), [&genesis, &block1].into_iter());

let mut engine_rx = spawn_consensus_engine(consensus_engine);
Expand Down

0 comments on commit 0e5eabd

Please sign in to comment.