Files
evmgpu/internal/ethapi/testdata/eth_getHeaderByNumber-number-latest-1.json
zeekayandHanzo Dev 344ae515e7 test: adopt the live line's RPC goldens and fix the warp lookup key
internal/ethapi: 27 of the 46 golden files still carried pre-Cancun headers.
The genesis header now serialises blobGasUsed, excessBlobGas and
parentBeaconBlockRoot as zero rather than omitting them, which moves the
genesis hash and every parentHash below it. evmgpu already had the fix in its
encoder -- its output reproduces luxfi/evm v1.104.49's goldens byte for byte,
all 27 of them -- so the files are taken from there and the whole package
passes. That is a wider conformance check than the three EVM vectors in the
conformance corpus, which stop at genesis, chain id and header RLP.

warp: the backend stores every message under Keccak256(msg.ID()) -- AddMessage,
GetMessageSignature and the off-chain load all hash before touching the
database. The off-chain test looked one up by the bare ID and got not-found.
Added evmMessageID, the same helper luxfi/evm introduced for this.

internal/ethapi and warp now pass.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-28 23:38:37 -07:00

24 lines
1.7 KiB
JSON

{
"baseFeePerGas": "0x1",
"blobGasUsed": "0x0",
"blockGasCost": "0x0",
"difficulty": "0x1",
"excessBlobGas": "0x0",
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gasLimit": "0x7a1200",
"gasUsed": "0x5208",
"hash": "0x7c7e1f4bc07a19a2200d8ff613bec722a8271edf8f2ea550bc4de4fa32b2ec2a",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"miner": "0x0000000000000000000000000000000000000000",
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x0000000000000000",
"number": "0x9",
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0x88923a7d2f0353e790e4865eec91029f378be4a22cbc8bf30561b511c8d306d0",
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"stateRoot": "0x6ad581a454c3e2e35a9547e4e0f74fb82a88a66e7d0a7beb807b21042f1b10d5",
"timestamp": "0x5a",
"totalDifficulty": "0x9",
"transactionsRoot": "0xf3f69c61b639254ec6538351b9edaebce124270a70dd2d7fbc8d197b2a7cd928"
}