github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-istanbul/changestate.sol (about)

     1  pragma solidity ^0.8.4;
     2  
     3  contract ChangeState {
     4      uint public n = 0;
     5      event Log(uint n);
     6      function ChangeStateWithLogFail(uint add) public {
     7          n += add;
     8          emit Log(n);
     9          require(false);
    10          n++;
    11      }
    12  }