Files
evm/internal/ethapi/testdata/eth_getBlockByNumber-number-latest-1.json
zeekay 03eb072a08 fix: update test fixtures and fix test failures
- Update ethapi test fixtures for new block hash format
- Fix TestNotify to include Lux-specific header fields
- Fix sync/handlers tests for proper block decoding
- Add genesis hash and RLP import tests
2025-12-20 21:29:51 -08:00

45 lines
2.4 KiB
JSON

{
"baseFeePerGas": "0x1",
"blobGasUsed": "0x0",
"blockGasCost": "0x0",
"difficulty": "0x1",
"excessBlobGas": "0x0",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x7a1200",
"gasUsed": "0x5208",
"hash": "0xc6aef789b46f64645a4d0a72f4d5c3ce376acc2bccaca65d5d232ebce4d20a6b",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x0000000000000000000000000000000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x9",
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0xa58fcceb428b152fea89a608b1db046e015396789119d0d456ae5a59d49d6a1d",
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"size": "0x2f8",
"stateRoot": "0x6ad581a454c3e2e35a9547e4e0f74fb82a88a66e7d0a7beb807b21042f1b10d5",
"timestamp": "0x5a",
"totalDifficulty": "0x9",
"transactions": [
{
"blockHash": "0xc6aef789b46f64645a4d0a72f4d5c3ce376acc2bccaca65d5d232ebce4d20a6b",
"blockNumber": "0x9",
"from": "0x703c4b2bd70c169f5717101caee543299fc946c7",
"gas": "0x5208",
"gasPrice": "0x1",
"hash": "0x788f1d9b6ab5314ca3157e4e514b602d3d9cf98773402749cd0ea73d4f373330",
"input": "0x",
"nonce": "0x8",
"to": "0x0d3ab14bbad3d99f4203bd7a11acb94882050e7e",
"transactionIndex": "0x0",
"value": "0x3e8",
"type": "0x0",
"v": "0x1b",
"r": "0x405203de7391198cd3dd1bfc2b12201053a799be421d74a5d3bc1338e75abfed",
"s": "0x683e95bab8c6c2d757bdd5cd0d75dc2bc9e54d9066023935a5d2b93281bfd0a3"
}
],
"transactionsRoot": "0xf3f69c61b639254ec6538351b9edaebce124270a70dd2d7fbc8d197b2a7cd928",
"uncles": []
}