github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-shanghai/self-destruct.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": "608060405234801561001057600080fd5b50600080546001600160a01b0319163317905560ca806100316000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80632e64cec114604157806343d726d61460565780636057361d14605e575b600080fd5b60015460405190815260200160405180910390f35b605c606e565b005b605c6069366004607c565b600155565b6000546001600160a01b0316ff5b600060208284031215608d57600080fd5b503591905056fea264697066735822122098bc5d8b70d15684ea7303282380aeb7ae56863ca02d3ce8aec3e624652d7b6164736f6c634300080e0033", 14 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 15 "rawAmount": "0", 16 "rawGasLimit": 5000000, 17 "rawGasPrice": "0", 18 "rawExpectedGasConsumed": 97728, 19 "expectedStatus": 1, 20 "expectedBalances": [], 21 "comment": "deploy self-destruct contract" 22 }], 23 "executions": [{ 24 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 25 "rawByteCode": "6057361d0000000000000000000000000000000000000000000000000000000000000014", 26 "rawAmount": "0", 27 "rawGasLimit": 1000000, 28 "rawGasPrice": "0", 29 "rawAccessList": [], 30 "rawExpectedGasConsumed": 35934, 31 "expectedStatus": 1, 32 "comment": "store 20" 33 },{ 34 "readOnly": true, 35 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 36 "rawByteCode": "2e64cec1", 37 "rawAmount": "0", 38 "rawGasLimit": 1000000, 39 "rawGasPrice": "0", 40 "rawAccessList": [], 41 "rawExpectedGasConsumed": 12646, 42 "expectedStatus": 1, 43 "hasReturnValue": true, 44 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000014", 45 "comment": "retrieve" 46 },{ 47 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 48 "rawByteCode": "43d726d6", 49 "rawAmount": "0", 50 "rawGasLimit": 1000000, 51 "rawGasPrice": "0", 52 "rawAccessList": [], 53 "rawExpectedGasConsumed": 17656, 54 "expectedStatus": 1, 55 "comment": "self destruct" 56 },{ 57 "readOnly": true, 58 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 59 "rawByteCode": "2e64cec1", 60 "rawAmount": "0", 61 "rawGasLimit": 1000000, 62 "rawGasPrice": "0", 63 "rawAccessList": [], 64 "rawExpectedGasConsumed": 10400, 65 "expectedStatus": 1, 66 "hasReturnValue": true, 67 "rawReturnValue": "", 68 "comment": "return nil because contract is destoried" 69 }] 70 }