Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 210 Bytes

chain-id.md

File metadata and controls

18 lines (12 loc) · 210 Bytes

chainId

Signature

function chainId(uint256) external;

Description

Sets block.chainid.

Examples

vm.chainId(31337);
emit log_uint(block.chainid); // 31337