Payload builder version

This commit is contained in:
Eitan Seri-Levi
2026-06-21 17:57:16 +03:00
parent e35a96cc1c
commit affdfb0d13
10 changed files with 49 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ use types::{
Address, ChainSpec, Checkpoint, Domain, Epoch, EthSpec, ExecutionBlockHash,
ExecutionPayloadBid, Hash256, MinimalEthSpec, ProposerPreferences, SignedBeaconBlock,
SignedExecutionPayloadBid, SignedProposerPreferences, SignedRoot, Slot,
consts::gloas::PAYLOAD_BUILDER_VERSION,
};
use proto_array::{Block as ProtoBlock, ExecutionStatus, PayloadStatus};
@@ -86,6 +87,7 @@ impl TestContext {
state
.add_builder_to_registry(
PublicKeyBytes::from(keypair.pk.clone()),
PAYLOAD_BUILDER_VERSION,
creds,
BUILDER_BALANCE,
Slot::new(0),
@@ -117,6 +119,7 @@ impl TestContext {
let inactive_builder_index = state
.add_builder_to_registry(
PublicKeyBytes::from(inactive_keypair.pk.clone()),
PAYLOAD_BUILDER_VERSION,
inactive_creds,
BUILDER_BALANCE,
Slot::new(E::slots_per_epoch()),