set_chain_id
Set the chain id. After a call to set_chain_id
, starknet::get_execution_info().tx_info.chain_id
will return the set value.
Fully qualified path: core::starknet::testing::set_chain_id
pub fn set_chain_id(chain_id: felt252)
Set the chain id. After a call to set_chain_id
, starknet::get_execution_info().tx_info.chain_id
will return the set value.
Fully qualified path: core::starknet::testing::set_chain_id
pub fn set_chain_id(chain_id: felt252)