Skip to content

Commit

Permalink
add mnemonic to ethpkg
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Nov 20, 2024
1 parent 9c03cf9 commit 37aa5c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/tests/network/ethpkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pub struct EthPkgKurtosis {
pub cl_socket: Option<SocketAddr>,
#[builder(default = 1)]
pub block_time: u64,
#[builder(default = "abstract vacuum mammal awkward pudding scene penalty purchase dinner depart evoke puzzle".into())]
pub mnemonic: String,
}

impl Default for EthPkgKurtosis {
Expand Down Expand Up @@ -114,6 +116,7 @@ impl EthereumNetwork for EthPkgKurtosis {
// "preset": "mainnet",
"preset": "minimal",
"seconds_per_slot": self.block_time,
"preregistered_validator_keys_mnemonic": self.mnemonic,
"num_validator_keys_per_node": 64,
"deneb_fork_epoch": 0
},
Expand Down Expand Up @@ -204,7 +207,7 @@ impl EthereumNetwork for EthPkgKurtosis {
EthereumConfig {
el_socket: self.el_socket.unwrap(),
cl_socket: self.cl_socket,
mnemonics: vec!["giant issue aisle success illegal bike spike question tent bar rely arctic volcano long crawl hungry vocal artwork sniff fantasy very lucky have athlete".into()],
mnemonics: vec![self.mnemonic.clone()],
block_time: self.block_time,
}
}
Expand Down

0 comments on commit 37aa5c8

Please sign in to comment.