github.com/theQRL/go-zond@v0.2.1/cmd/zvm/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  `gzond` 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  $ go run . t8n --state.fork=Shanghai --input.alloc=testdata/12/alloc.json --input.txs=testdata/12/txs.json --input.env=testdata/12/env.json --output.alloc=stdout --output.result=stdout
     9  ```
    10  
    11  With the fix applied, the result is: 
    12  ```
    13  go run . t8n --state.fork=Shanghai --input.alloc=testdata/12/alloc.json --input.txs=testdata/12/txs.json --input.env=testdata/12/env.json --output.alloc=stdout --output.result=stdout
    14  INFO [08-29|20:12:04.348] rejected tx                              index=0 hash=1d8f98..d32abf from=Z204cC644e26BDF879db422658eDEE62e302c3Da8 error="insufficient funds for gas * price + value: address Z204cC644e26BDF879db422658eDEE62e302c3Da8 have 84000000 want 84000032"
    15  INFO [08-29|20:12:04.348] Trie dumping started                     root=67e50f..797459
    16  INFO [08-29|20:12:04.348] Trie dumping complete                    accounts=1 elapsed="17.958µs"
    17  {
    18    "alloc": {
    19      "Z204cc644e26bdf879db422658edee62e302c3da8": {
    20        "balance": "0x501bd00"
    21      }
    22    },
    23    "result": {
    24      "stateRoot": "0x67e50ffaf8e3008e329e71e0cd510967fba149576162d566f33df16f5d797459",
    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 Z204cC644e26BDF879db422658eDEE62e302c3Da8 have 84000000 want 84000032"
    34        }
    35      ],
    36      "gasUsed": "0x0",
    37      "currentBaseFee": "0x20",
    38      "withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
    39    }
    40  }
    41  ```
    42  
    43  The transaction is rejected.