Skip to content

Commit

Permalink
fix testnet test setup for network struct
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 committed Oct 11, 2024
1 parent acac726 commit bf9bc8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtimes/testnet/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ fn get_peer_id(random_num: [u8; 32]) -> [u8; 32] {
fn network() -> Network {
Network {
id: ETHEREUM,
chain_name: "ethereum".into(),
chain_network: "dev".into(),
chain_name: ChainName::truncate_from("ethereum".encode()),
chain_network: ChainNetwork::truncate_from("dev".encode()),
gateway: [0u8; 32],
gateway_block: 0,
config: NetworkConfig {
Expand Down

0 comments on commit bf9bc8e

Please sign in to comment.