mirror of
https://github.com/luxfi/evmgpu.git
synced 2026-10-30 16:57:11 +00:00
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]>
24 lines
1.7 KiB
JSON
24 lines
1.7 KiB
JSON
{
|
|
"baseFeePerGas": "0x1",
|
|
"blobGasUsed": "0x0",
|
|
"blockGasCost": "0x0",
|
|
"difficulty": "0x1",
|
|
"excessBlobGas": "0x0",
|
|
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"gasLimit": "0x7a1200",
|
|
"gasUsed": "0x5208",
|
|
"hash": "0xb133cb5b369ec3ac16b76adf8804ecdcbe9edb2513cee9254ec5a8d61999a55f",
|
|
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
"miner": "0x0000000000000000000000000000000000000000",
|
|
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"nonce": "0x0000000000000000",
|
|
"number": "0x1",
|
|
"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
"parentHash": "0x812de3f74d14e54e7dbf872f7c7d232a6bf7f09daf07a2a5558d12bc51692541",
|
|
"receiptsRoot": "0x056b23fbba480696b65fe5a59b8f2148a1299103c4f57df839233af2cf4ca2d2",
|
|
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
|
|
"stateRoot": "0xfa575eb811f44147cd85fb778d654e0ac17acbe5a8716367d4c34ee9eb4bbff0",
|
|
"timestamp": "0xa",
|
|
"totalDifficulty": "0x1",
|
|
"transactionsRoot": "0x2091c9f520d1aee00e5552f3e8da86e1d0668593e8dc189c1c2f429401ab2c23"
|
|
} |