github.com/theQRL/go-zond@v0.1.1/cmd/evm/testdata/19/readme.md (about)

     1  ## Difficulty calculation
     2  
     3  This test shows how the `evm t8n` can be used to calculate the (ethash) difficulty, if none is provided by the caller, 
     4  this time on `GrayGlacier` (Eip 5133).
     5  
     6  Calculating it (with an empty set of txs) using `GrayGlacier` rules (and no provided unclehash for the parent block):
     7  ```
     8  [user@work evm]$ ./evm t8n --input.alloc=./testdata/19/alloc.json --input.txs=./testdata/19/txs.json --input.env=./testdata/19/env.json --output.result=stdout --state.fork=GrayGlacier
     9  INFO [03-09|10:45:26.777] Trie dumping started                     root=6f0588..7f4bdc
    10  INFO [03-09|10:45:26.777] Trie dumping complete                    accounts=2 elapsed="176.471µs"
    11  INFO [03-09|10:45:26.777] Wrote file                               file=alloc.json
    12  {
    13    "result": {
    14      "stateRoot": "0x6f058887ca01549716789c380ede95aecc510e6d1fdc4dbf67d053c7c07f4bdc",
    15      "txRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    16      "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    17      "logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    18      "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    19      "receipts": [],
    20      "currentDifficulty": "0x2000000004000",
    21      "gasUsed": "0x0",
    22      "currentBaseFee": "0x500"
    23    }
    24  }
    25  ```