github.com/theQRL/go-zond@v0.2.1/cmd/zvm/testdata/11/readme.md (about)

     1  ## Test missing basefee
     2  
     3  In this test, the `currentBaseFee` is missing from the env portion. 
     4  On a live blockchain, the basefee is present in the header, and verified as part of header validation. 
     5  
     6  In `zvm t8n`, we don't have blocks, so it needs to be added in the `env`instead. 
     7  
     8  When it's missing, an error is expected. 
     9  
    10  ```
    11  $ go run . t8n --state.fork=Shanghai --input.alloc=testdata/11/alloc.json --input.txs=testdata/11/txs.json --input.env=testdata/11/env.json --output.alloc=stdout --output.result=stdout
    12  ERROR(3): EIP-1559 config but missing 'parentBaseFee' in env section
    13  ```