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

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