github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-london/self-destruct.json (about) 1 { 2 "initGenesis": { 3 "isBering" : true, 4 "isIceland" : true, 5 "isLondon" : true 6 }, 7 "initBalances": [{ 8 "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms", 9 "rawBalance": "1000000000000000000000000000" 10 }], 11 "deployments": [{ 12 "rawByteCode": "608060405234801561001057600080fd5b50600080546001600160a01b0319163317905560ca806100316000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80632e64cec114604157806343d726d61460565780636057361d14605e575b600080fd5b60015460405190815260200160405180910390f35b605c606e565b005b605c6069366004607c565b600155565b6000546001600160a01b0316ff5b600060208284031215608d57600080fd5b503591905056fea264697066735822122098bc5d8b70d15684ea7303282380aeb7ae56863ca02d3ce8aec3e624652d7b6164736f6c634300080e0033", 13 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 14 "rawAmount": "0", 15 "rawGasLimit": 5000000, 16 "rawGasPrice": "0", 17 "rawExpectedGasConsumed": 97728, 18 "expectedStatus": 1, 19 "expectedBalances": [], 20 "comment": "deploy self-destruct contract" 21 }], 22 "executions": [{ 23 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 24 "rawByteCode": "6057361d0000000000000000000000000000000000000000000000000000000000000014", 25 "rawAmount": "0", 26 "rawGasLimit": 1000000, 27 "rawGasPrice": "0", 28 "rawAccessList": [], 29 "rawExpectedGasConsumed": 35934, 30 "expectedStatus": 1, 31 "comment": "store 20" 32 },{ 33 "readOnly": true, 34 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 35 "rawByteCode": "2e64cec1", 36 "rawAmount": "0", 37 "rawGasLimit": 1000000, 38 "rawGasPrice": "0", 39 "rawAccessList": [], 40 "rawExpectedGasConsumed": 12646, 41 "expectedStatus": 1, 42 "hasReturnValue": true, 43 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000014", 44 "comment": "retrieve" 45 },{ 46 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 47 "rawByteCode": "43d726d6", 48 "rawAmount": "0", 49 "rawGasLimit": 1000000, 50 "rawGasPrice": "0", 51 "rawAccessList": [], 52 "rawExpectedGasConsumed": 17656, 53 "expectedStatus": 1, 54 "comment": "self destruct" 55 },{ 56 "readOnly": true, 57 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 58 "rawByteCode": "2e64cec1", 59 "rawAmount": "0", 60 "rawGasLimit": 1000000, 61 "rawGasPrice": "0", 62 "rawAccessList": [], 63 "rawExpectedGasConsumed": 10400, 64 "expectedStatus": 1, 65 "hasReturnValue": true, 66 "rawReturnValue": "", 67 "comment": "return nil because contract is destoried" 68 }] 69 }