github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata/changestate.json (about) 1 { 2 "initBalances": [{ 3 "account": "io1mflp9m6hcgm2qcghchsdqj3z3eccrnekx9p0ms", 4 "rawBalance": "1000000000000000000000000000" 5 }], 6 "deployments": [{ 7 "rawByteCode": "60806040526000805534801561001457600080fd5b5060fb806100236000396000f30060806040526004361060485763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416632e52d6068114604d57806386b5e2fb146071575b600080fd5b348015605857600080fd5b50605f6088565b60408051918252519081900360200190f35b348015607c57600080fd5b506086600435608e565b005b60005481565b6000805482019081905560408051918252517f909c57d5c6ac08245cf2a6de3900e2b868513fa59099b92b27d8db823d92df9c9181900360200190a1600080fd00a165627a7a723058206629129badfb5f73da0d08d9b24b09f2b7f8c81766992f0ea9afc7df5edf72110029", 8 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 9 "rawAmount": "0", 10 "rawGasLimit": 1000000, 11 "rawGasPrice": "0", 12 "rawExpectedGasConsumed": 93905, 13 "expectedBalances": [], 14 "comment": "deploy a changestate contract" 15 }], 16 "executions": [{ 17 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 18 "rawByteCode": "2e52d606", 19 "rawAmount": "0", 20 "rawGasLimit": 120000, 21 "rawGasPrice": "0", 22 "rawExpectedGasConsumed": 10784, 23 "readOnly": true, 24 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000", 25 "comment": "query state" 26 }, { 27 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 28 "rawByteCode": "d91071bd000000000000000000000000000000000000000000000000000000000000000d", 29 "rawAmount": "0", 30 "rawGasLimit": 120000, 31 "rawGasPrice": "0", 32 "rawExpectedGasConsumed": 13710, 33 "failed":true, 34 "comment": "try changing state" 35 }, { 36 "rawPrivateKey": "cfa6ef757dee2e50351620dca002d32b9c090cfda55fb81f37f1d26b273743f1", 37 "rawByteCode": "2e52d606", 38 "rawAmount": "0", 39 "rawGasLimit": 120000, 40 "rawGasPrice": "0", 41 "rawExpectedGasConsumed": 10784, 42 "readOnly": true, 43 "rawReturnValue": "0000000000000000000000000000000000000000000000000000000000000000", 44 "comment": "query state" 45 }] 46 }