github.com/theQRL/go-zond@v0.2.1/cmd/zvm/testdata/10/readme.md (about) 1 ## EIP-1559 testing 2 3 This test contains testcases for EIP-1559, which were reported by Ori as misbehaving. 4 5 ``` 6 $ go run . t8n --state.fork=Shanghai --input.alloc=testdata/10/alloc.json --input.txs=testdata/10/txs.json --input.env=testdata/10/env.json --output.alloc=stdout --output.result=stdout 7 INFO [08-29|20:06:24.375] rejected tx index=3 hash=95fc73..558541 from=Z20687Fa825ab4AD40A89C303F22F65FEf9778555 error="gas limit reached" 8 ``` 9 Output: 10 ```json 11 { 12 "alloc": { 13 "Z1111111111111111111111111111111111111111": { 14 "code": "0xfe", 15 "balance": "0x10000000000", 16 "nonce": "0x1" 17 }, 18 "Z20687fa825ab4ad40a89c303f22f65fef9778555": { 19 "balance": "0xfff5beffffc95", 20 "nonce": "0x4" 21 }, 22 "Za94f5374fce5edbc8e2a8697c15331677e6ebf0b": { 23 "balance": "0x10000000000", 24 "nonce": "0x1" 25 } 26 }, 27 "result": { 28 "stateRoot": "0xe34bf03e9a248c9cd91877ff3ed00693fd3e55a2a77c9cd5763c3eb30283291b", 29 "txRoot": "0xbf072cf0a4ecf2fdba9911301dd8040afc9d821b878691ee976317ed4e19a78d", 30 "receiptsRoot": "0x439a25f7fc424c10fb1f89800e4aa1df74156b137239d9ac3eaa7c911c353cd5", 31 "logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", 32 "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 33 "receipts": [ 34 { 35 "type": "0x2", 36 "root": "0x", 37 "status": "0x0", 38 "cumulativeGasUsed": "0x10000001", 39 "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 40 "logs": null, 41 "transactionHash": "0x08734aa30ca5a79cf43e583436959ea43a76ae9fadf1ee73351107fae362d2dc", 42 "contractAddress": "Z0000000000000000000000000000000000000000", 43 "gasUsed": "0x10000001", 44 "effectiveGasPrice": null, 45 "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 46 "transactionIndex": "0x0" 47 }, 48 { 49 "type": "0x2", 50 "root": "0x", 51 "status": "0x0", 52 "cumulativeGasUsed": "0x20000001", 53 "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 54 "logs": null, 55 "transactionHash": "0x4cf89e4fbb03d315016d9314a90f2a637689e5d10ca73ba194a5053848067161", 56 "contractAddress": "Z0000000000000000000000000000000000000000", 57 "gasUsed": "0x10000000", 58 "effectiveGasPrice": null, 59 "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 60 "transactionIndex": "0x1" 61 }, 62 { 63 "type": "0x2", 64 "root": "0x", 65 "status": "0x0", 66 "cumulativeGasUsed": "0x30000001", 67 "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 68 "logs": null, 69 "transactionHash": "0x6a940bbb32ba9654bfb6ab169e3f019ee0abf49af7c28d8170187739ab7cf492", 70 "contractAddress": "Z0000000000000000000000000000000000000000", 71 "gasUsed": "0x10000000", 72 "effectiveGasPrice": null, 73 "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 74 "transactionIndex": "0x2" 75 } 76 ], 77 "rejected": [ 78 { 79 "index": 3, 80 "error": "gas limit reached" 81 } 82 ], 83 "gasUsed": "0x30000001", 84 "currentBaseFee": "0x36b", 85 "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421" 86 } 87 } 88 ```