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

     1  {
     2      "initGenesis": {
     3          "isBering" : true,
     4          "isIceland" : true,
     5          "isLondon" : true,
     6          "isShanghai" : true
     7      },
     8      "initBalances": [{
     9          "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    10          "rawBalance": "1000000000000000000000000000"
    11      }],
    12      "deployments": [{
    13          "rawByteCode": "60806040526000805534801561001457600080fd5b5061012a806100246000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80632e52d60614603757806386b5e2fb146051575b600080fd5b603f60005481565b60405190815260200160405180910390f35b6060605c36600460b1565b6062565b005b806000808282546071919060df565b90915550506000546040519081527f909c57d5c6ac08245cf2a6de3900e2b868513fa59099b92b27d8db823d92df9c9060200160405180910390a1600080fd5b60006020828403121560c257600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111560ef5760ef60c9565b50019056fea264697066735822122036e1e8e2c54827484751bc06accc0bc58616042b8d342c6adf160d458a3dfa1864736f6c634300080e0033",
    14          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    15          "rawAmount": "0",
    16          "rawGasLimit": 1000000,
    17          "rawGasPrice": "0",
    18          "rawExpectedGasConsumed": 105317,
    19          "expectedStatus": 1,
    20          "expectedBalances": [],
    21          "comment": "deploy a changestate contract"
    22      }],
    23      "executions": [{
    24          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    25          "rawByteCode": "2e52d606",
    26          "rawAmount": "0",
    27          "rawGasLimit": 120000,
    28          "rawGasPrice": "0",
    29          "rawAccessList": [],
    30          "rawExpectedGasConsumed": 12661,
    31          "expectedStatus": 1,
    32          "readOnly": true,
    33          "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000",
    34          "comment": "query state"
    35      }, {
    36          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    37          "rawByteCode": "86b5e2fb000000000000000000000000000000000000000000000000000000000000000d",
    38          "rawAmount": "0",
    39          "rawGasLimit": 120000,
    40          "rawGasPrice": "0",
    41          "rawAccessList": [],
    42          "rawExpectedGasConsumed": 37173,
    43          "expectedStatus": 106,
    44          "failed":true,
    45          "comment": "try changing state"
    46      }, {
    47          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    48          "rawByteCode": "2e52d606",
    49          "rawAmount": "0",
    50          "rawGasLimit": 120000,
    51          "rawGasPrice": "0",
    52          "rawAccessList": [],
    53          "rawExpectedGasConsumed": 12661,
    54          "expectedStatus": 1,
    55          "readOnly": true,
    56          "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000",
    57          "comment": "query state"
    58      }]
    59  }