Skip to content

Commit

Permalink
add hack to connect to kurtosis BN
Browse files Browse the repository at this point in the history
  • Loading branch information
dknopik committed Dec 18, 2024
1 parent 35c4132 commit 9bd0d6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions anchor/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ impl Client {
"Starting the Anchor client"
);

let spec = Eth2Config::mainnet().spec;
let mut spec = Eth2Config::mainnet().spec;
// dirty hack to be able to connect to local kurtosis devnet
Arc::get_mut(&mut spec).unwrap().genesis_fork_version = [16, 0, 0, 56];

// Start the processor
let processor_senders = processor::spawn(config.processor, executor.clone());
Expand Down Expand Up @@ -286,7 +288,8 @@ impl Client {
.slot_clock(slot_clock.clone())
.validator_store(validator_store.clone())
.beacon_nodes(beacon_nodes.clone())
.executor(executor.clone());
.executor(executor.clone())
.chain_spec(spec.clone());
//.graffiti(config.graffiti)
//.graffiti_file(config.graffiti_file.clone());

Expand Down

0 comments on commit 9bd0d6a

Please sign in to comment.