solidity/test/libsolidity/semanticTests/state/block_chainid.sol
2022-05-19 20:23:28 +02:00

12 lines
170 B
Solidity

contract C {
function f() public returns (uint) {
return block.chainid;
}
}
// ====
// EVMVersion: >=istanbul
// ----
// f() -> 1
// f() -> 1
// f() -> 1