github.com/theQRL/go-zond@v0.1.1/cmd/evm/testdata/12/readme.md (about) 1 ## Test 1559 balance + gasCap 2 3 This test contains an EIP-1559 consensus issue which happened on Ropsten, where 4 `geth` did not properly account for the value transfer while doing the check on `max_fee_per_gas * gas_limit`. 5 6 Before the issue was fixed, this invocation allowed the transaction to pass into a block: 7 ``` 8 dir=./testdata/12 && ./evm t8n --state.fork=London --input.alloc=$dir/alloc.json --input.txs=$dir/txs.json --input.env=$dir/env.json --output.alloc=stdout --output.result=stdout 9 ``` 10 11 With the fix applied, the result is: 12 ``` 13 dir=./testdata/12 && ./evm t8n --state.fork=London --input.alloc=$dir/alloc.json --input.txs=$dir/txs.json --input.env=$dir/env.json --output.alloc=stdout --output.result=stdout 14 INFO [03-09|10:43:12.649] rejected tx index=0 hash=ccc996..d83435 from=0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B error="insufficient funds for gas * price + value: address 0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B have 84000000 want 84000032" 15 INFO [03-09|10:43:12.650] Trie dumping started root=e05f81..6597a5 16 INFO [03-09|10:43:12.650] Trie dumping complete accounts=1 elapsed="46.393µs" 17 { 18 "alloc": { 19 "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": { 20 "balance": "0x501bd00" 21 } 22 }, 23 "result": { 24 "stateRoot": "0xe05f81f8244a76503ceec6f88abfcd03047a612a1001217f37d30984536597a5", 25 "txRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", 26 "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", 27 "logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", 28 "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", 29 "receipts": [], 30 "rejected": [ 31 { 32 "index": 0, 33 "error": "insufficient funds for gas * price + value: address 0xa94f5374Fce5edBC8E2a8697C15331677e6EbF0B have 84000000 want 84000032" 34 } 35 ], 36 "currentDifficulty": "0x20000", 37 "gasUsed": "0x0", 38 "currentBaseFee": "0x20" 39 } 40 } 41 ``` 42 43 The transaction is rejected.