diff --git a/contracts/SimpleStorage.sol b/contracts/SimpleStorage.sol index 778d697..622ff5f 100644 --- a/contracts/SimpleStorage.sol +++ b/contracts/SimpleStorage.sol @@ -24,7 +24,7 @@ contract SimpleStorage { uint chainId; assembly { - chainId := chainid + chainId := chainid() } bytes32 eip712DomainHash = keccak256( abi.encode( @@ -54,4 +54,4 @@ contract SimpleStorage { set(x); } -} \ No newline at end of file +}