github.com/n1ghtfa1l/go-vnt@v0.6.4-alpha.6/core/wavm/tests/gas.json (about) 1 { 2 "env": { 3 "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", 4 "currentNumber": 257, 5 "currentGasLimit": 4000000, 6 "currentDifficulty": 256, 7 "currentTimestamp": 1546273000, 8 "currentCoinbase": "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" 9 }, 10 "exec": { 11 "address": "0xcccccccccccccccccccccccccccccccccccccccc", 12 "value": 0, 13 "gas": 4000000, 14 "caller": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 15 "origin": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 16 "gasPrice": 1000000 17 }, 18 "pre": { 19 "0xcccccccccccccccccccccccccccccccccccccccc": { 20 "balance": "0xDE0B6B3A7640000", 21 "code": "", 22 "nonce": "0x00", 23 "storage": {} 24 }, 25 "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": { 26 "balance": "0xDE0B6B3A7640000", 27 "code": "", 28 "nonce": "0x00", 29 "storage": {} 30 } 31 }, 32 "testcase": [ 33 { 34 "code": "gas/TestGas.compress", 35 "abi": "gas/abi.json", 36 "initcase": { 37 "needinit": true, 38 "input": [] 39 }, 40 "tests": [ 41 { 42 "function": "testPrintf", 43 "input": [ 44 { 45 "data": "100000", 46 "type": "uint64" 47 } 48 ], 49 "wanted": {} 50 }, 51 { 52 "function": "testSha3", 53 "input": [ 54 { 55 "data": "100", 56 "type": "uint64" 57 } 58 ], 59 "wanted": {} 60 } 61 ] 62 } 63 ] 64 }