Signature
Arguments
chain_id
- The chain id to set.
After a call to set_chain_id
, starknet::get_execution_info().tx_info.chain_id
will return
the set value.pub fn set_chain_id(chain_id: felt252)
chain_id
- The chain id to set.
After a call to set_chain_id
, starknet::get_execution_info().tx_info.chain_id
will return
the set value.Was this page helpful?