github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-london/changestate.sol (about) 1 // SPDX-License-Identifier: GPL-3.0 2 3 pragma solidity ^0.8.14; 4 5 contract ChangeState { 6 uint256 public n = 0; 7 event Log(uint256 n); 8 9 function ChangeStateWithLogFail(uint256 add) public { 10 n += add; 11 emit Log(n); 12 require(false); 13 n++; 14 } 15 }