diff --git a/substrate/client/tests/validator_sets.rs b/substrate/client/tests/validator_sets.rs index 140df96d0..79558d682 100644 --- a/substrate/client/tests/validator_sets.rs +++ b/substrate/client/tests/validator_sets.rs @@ -38,7 +38,7 @@ serai_test!( .get_new_set_events(serai.get_block_by_number(0).await.unwrap().unwrap().hash()) .await .unwrap(), - [NetworkId::Bitcoin, NetworkId::Ethereum, NetworkId::Monero] + [NetworkId::Bitcoin, NetworkId::Ethereum, NetworkId::Monero, NetworkId::Serai] .iter() .copied() .map(|network| ValidatorSetsEvent::NewSet { diff --git a/substrate/node/src/chain_spec.rs b/substrate/node/src/chain_spec.rs index 41a73df50..8f8883a55 100644 --- a/substrate/node/src/chain_spec.rs +++ b/substrate/node/src/chain_spec.rs @@ -59,6 +59,7 @@ fn testnet_genesis( (NetworkId::Bitcoin, NETWORKS[&NetworkId::Bitcoin].clone()), (NetworkId::Ethereum, NETWORKS[&NetworkId::Ethereum].clone()), (NetworkId::Monero, NETWORKS[&NetworkId::Monero].clone()), + (NetworkId::Serai, NETWORKS[&NetworkId::Serai].clone()), ], participants: validators.iter().map(|name| account_from_name(name)).collect(), }, diff --git a/substrate/primitives/src/networks.rs b/substrate/primitives/src/networks.rs index 8f7a3af40..10efb6571 100644 --- a/substrate/primitives/src/networks.rs +++ b/substrate/primitives/src/networks.rs @@ -127,5 +127,6 @@ lazy_static::lazy_static! { (NetworkId::Bitcoin, Network::new(vec![Coin::Bitcoin]).unwrap()), (NetworkId::Ethereum, Network::new(vec![Coin::Ether, Coin::Dai]).unwrap()), (NetworkId::Monero, Network::new(vec![Coin::Monero]).unwrap()), + (NetworkId::Serai, Network::new(vec![Coin::Serai]).unwrap()), ]); }