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

     1  {
     2       "initGenesis": {
     3           "isBering" : true,
     4           "isIceland" : true,
     5           "isLondon" : true
     6      },
     7      "initBalances": [{
     8          "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
     9          "rawBalance": "10000000000000000000"
    10      }],
    11      "deployments":[{
    12          "rawByteCode": "608060405234801561001057600080fd5b506101e5806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635bec9e671461004657806360fe47b114610050578063c2bc2efc14610063575b600080fd5b61004e610088565b005b61004e61005e36600461013f565b6100a1565b610076610071366004610158565b6100dc565b60405190815260200160405180910390f35b60008054908061009783610188565b9190505550610088565b60008190556040518181527fdf7a95aebff315db1b7716215d602ab537373cdb769232aae6055c06e798425b9060200160405180910390a150565b60006001600160a01b0382166100f157600080fd5b600054604080516001600160a01b038516815260208101929092527fbde7a70c2261170a87678200113c8e12f82f63d0a1d1cfa45681cbac328e87e3910160405180910390a1505060005490565b60006020828403121561015157600080fd5b5035919050565b60006020828403121561016a57600080fd5b81356001600160a01b038116811461018157600080fd5b9392505050565b6000600182016101a857634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220568e9b0cfa6b1769dec0d8e8973b98156b61ceafd4f4bf667b252995a66b50a864736f6c634300080e0033",
    13          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    14          "rawAmount": "0",
    15          "rawGasLimit": 5000000,
    16          "rawGasPrice": "1",
    17          "rawExpectedGasConsumed": 158847,
    18          "expectedStatus": 1,
    19          "expectedBalances": [{
    20              "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    21              "rawBalance": "9999999999999803029"
    22          }],
    23          "comment": "deploy infiniteloop contract"
    24      }] ,
    25      "executions": [{
    26          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    27          "rawByteCode": "60fe47b10000000000000000000000000000000000000000000000000000000000001f40",
    28          "rawAmount": "0",
    29          "rawGasLimit": 1000000,
    30          "rawGasPrice": "1",
    31          "rawAccessList": [],
    32          "rawExpectedGasConsumed": 36989,
    33          "expectedStatus": 1,
    34          "expectedBalances": [{
    35              "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    36              "rawBalance": "9999999999999804164"
    37          }],
    38          "expectedLogs": [{}],
    39          "comment": "set storedData = 0x1f40"
    40      }, {
    41          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    42          "rawByteCode": "c2bc2efc0000000000000000000000000000000000000000000000000000000000000001",
    43          "rawAmount": "0",
    44          "rawGasLimit": 1000000,
    45          "rawGasPrice": "1",
    46          "rawAccessList": [],
    47          "rawExpectedGasConsumed": 17534,
    48          "readOnly": true,
    49          "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000001f40",
    50          "expectedStatus": 1,
    51          "expectedLogs": [{}],
    52          "comment": "read and verify storedData = 0x1f40"
    53      }, {
    54          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    55          "rawByteCode": "5bec9e67",
    56          "rawAmount": "0",
    57          "rawGasLimit": 5000000,
    58          "rawGasPrice": "1",
    59          "rawAccessList": [],
    60          "rawExpectedGasConsumed": 5000000,
    61          "failed": true,
    62          "expectedStatus": 101,
    63          "expectedBalances": [{
    64              "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms",
    65              "rawBalance": "9999999999994804164"
    66          }],
    67          "comment": "calling infinite(), this will consume all provided gas, and exit with failure"
    68      }]
    69  }