mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
First pass
This commit is contained in:
@@ -673,7 +673,8 @@ impl<E: EthSpec> ExecutionBlockGenerator<E> {
|
||||
ForkName::Deneb | ForkName::Electra => {
|
||||
// get random number between 0 and Max Blobs
|
||||
let mut rng = self.rng.lock();
|
||||
let num_blobs = rng.gen::<usize>() % (E::max_blobs_per_block() + 1);
|
||||
// TODO(pawan): thread the chainspec value here somehow
|
||||
let num_blobs = rng.gen::<usize>() % 6;
|
||||
let (bundle, transactions) = generate_blobs(num_blobs)?;
|
||||
for tx in Vec::from(transactions) {
|
||||
execution_payload
|
||||
|
||||
Reference in New Issue
Block a user