github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-shanghai/prevrandao.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": "608060405234801561001057600080fd5b5060b58061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635ec01e4d14602d575b600080fd5b60336047565b604051603e91906066565b60405180910390f35b600044905090565b6000819050919050565b606081604f565b82525050565b6000602082019050607960008301846059565b9291505056fea26469706673582212208b5853db7006e0a6e6fcfc37145359c4f7cbec8d42e6cd8c99d998a696a4d3d964736f6c63430008120033",
    14          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    15          "rawAmount": "0",
    16          "rawGasLimit": 5000000,
    17          "rawGasPrice": "0",
    18          "rawExpectedGasConsumed": 67487,
    19          "expectedStatus": 1,
    20          "expectedBalances": [],
    21          "comment": "deploy contract with prevrandao opcode"
    22      }],
    23      "executions": [{
    24          "contractIndex": 0,
    25          "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1",
    26          "rawByteCode": "5ec01e4d",
    27          "rawAmount": "0",
    28          "rawGasLimit": 1000000,
    29          "rawGasPrice": "0",
    30          "rawAccessList": [],
    31          "rawExpectedGasConsumed": 10714,
    32          "expectedStatus": 1,
    33          "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000",
    34          "comment": "call random()",
    35          "readOnly": true
    36      }]
    37  }