pub fn create_node_with_keys<K: KeyType>(
network: &str,
instance: &str,
allowed_keys: AllowedKeys<K>,
key_pair: Option<K::Secret>,
using_evm_address_for_handshake_verification: bool,
) -> TestNode<K>
Available on crate feature
testing
only.Expand description
Helper to create a whitelisted test node
§Arguments
network
- The network nameinstance
- The instance IDallowed_keys
- The allowed keys for the nodekey_pair
- The key pair for the nodeusing_evm_address_for_handshake_verification
- Whether to use the EVM address for handshake verification
§Returns
Returns a new test node