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

     1  {
     2    "initGenesis": {
     3      "isBering" : true,
     4      "isIceland" : true
     5    },
     6    "initBalances": [{
     7      "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
     8      "rawBalance": "1000000000000000000000000000"
     9    }],
    10    "deployments": [{
    11      "rawByteCode": "60806040526000805534801561001457600080fd5b50610197806100246000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063048a5fed14610046578063564b81ef14610064578063d09de08a14610082575b600080fd5b61004e61008c565b60405161005b91906100c4565b60405180910390f35b61006c610094565b60405161007991906100c4565b60405180910390f35b61008a61009c565b005b600047905090565b600046905090565b6000808154809291906100ae906100e9565b9190505550565b6100be816100df565b82525050565b60006020820190506100d960008301846100b5565b92915050565b6000819050919050565b60006100f4826100df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561012757610126610132565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea2646970667358221220f8b638e0c2347a64ecd37e97015c540b32728e5bfb3bee0e9636285a60f3775364736f6c63430008040033",
    12      "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    13      "rawAmount": "0",
    14      "rawGasLimit": 5000000,
    15      "rawGasPrice": "1",
    16      "rawExpectedGasConsumed": 136635,
    17      "expectedStatus": 1,
    18      "expectedBalances": [{
    19        "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    20        "rawBalance": "999999999999999999999863365"
    21      }],
    22      "comment": "deploy chainid contract"
    23    }],
    24    "executions": [{
    25      "readOnly": true,
    26      "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    27      "rawByteCode": "564b81ef",
    28      "rawAmount": "0",
    29      "rawGasLimit": 1000000,
    30      "rawGasPrice": "0",
    31      "expectedStatus": 1,
    32      "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000001251",
    33      "comment": "call getChainID"
    34    },
    35    {
    36      "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    37      "rawByteCode": "d09de08a",
    38      "rawAmount": "0",
    39      "rawGasLimit": 1000000,
    40      "rawGasPrice": "1",
    41      "rawExpectedGasConsumed": 31526,
    42      "expectedStatus": 1,
    43      "expectedBalances": [{
    44        "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    45        "rawBalance": "999999999999999999999831839"
    46      }],
    47      "comment": "call increment"
    48    },
    49    {
    50      "readOnly": true,
    51      "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    52      "rawByteCode": "048a5fed",
    53      "rawAmount": "0",
    54      "rawGasLimit": 1000000,
    55      "rawGasPrice": "0",
    56      "expectedStatus": 1,
    57      "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000",
    58      "comment": "call getSelfBalance"
    59    }]
    60  }