From 7b155e49267365fa4e87c0663716121b0fa6a168 Mon Sep 17 00:00:00 2001 From: lupin012 <58134934+lupin012@users.noreply.github.com> Date: Sun, 27 Oct 2024 12:39:11 +0100 Subject: [PATCH] integration: fix expected for erigon_getHeaderBy* (#266) --- .../erigon_getHeaderByHash/test_01.json | 1 + .../erigon_getHeaderByHash/test_02.json | 1 + .../erigon_getHeaderByHash/test_03.json | 1 + .../erigon_getHeaderByHash/test_04.json | 1 + .../erigon_getHeaderByHash/test_06.json | 57 ++++++++++--------- .../erigon_getHeaderByNumber/test_01.json | 1 + .../erigon_getHeaderByNumber/test_02.json | 1 + .../erigon_getHeaderByNumber/test_03.json | 1 + .../erigon_getHeaderByNumber/test_04.json | 1 + .../erigon_getHeaderByNumber/test_05.json | 1 + .../erigon_getHeaderByNumber/test_06.json | 1 + .../erigon_getHeaderByNumber/test_07.json | 1 + .../erigon_getHeaderByNumber/test_08.json | 1 + 13 files changed, 41 insertions(+), 28 deletions(-) diff --git a/integration/mainnet/erigon_getHeaderByHash/test_01.json b/integration/mainnet/erigon_getHeaderByHash/test_01.json index 3339635f..1f00cb64 100644 --- a/integration/mainnet/erigon_getHeaderByHash/test_01.json +++ b/integration/mainnet/erigon_getHeaderByHash/test_01.json @@ -14,6 +14,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x4cad3abe1", "blobGasUsed": null, "difficulty": "0x0", diff --git a/integration/mainnet/erigon_getHeaderByHash/test_02.json b/integration/mainnet/erigon_getHeaderByHash/test_02.json index 13e6a7ce..a57507df 100644 --- a/integration/mainnet/erigon_getHeaderByHash/test_02.json +++ b/integration/mainnet/erigon_getHeaderByHash/test_02.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "blobGasUsed": null, "excessBlobGas": null, "parentBeaconBlockRoot": null, diff --git a/integration/mainnet/erigon_getHeaderByHash/test_03.json b/integration/mainnet/erigon_getHeaderByHash/test_03.json index 05641238..677dcf0e 100644 --- a/integration/mainnet/erigon_getHeaderByHash/test_03.json +++ b/integration/mainnet/erigon_getHeaderByHash/test_03.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "blobGasUsed": null, "excessBlobGas": null, "parentBeaconBlockRoot": null, diff --git a/integration/mainnet/erigon_getHeaderByHash/test_04.json b/integration/mainnet/erigon_getHeaderByHash/test_04.json index a9b02345..8dda04b5 100644 --- a/integration/mainnet/erigon_getHeaderByHash/test_04.json +++ b/integration/mainnet/erigon_getHeaderByHash/test_04.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "blobGasUsed": null, "excessBlobGas": null, "parentBeaconBlockRoot": null, diff --git a/integration/mainnet/erigon_getHeaderByHash/test_06.json b/integration/mainnet/erigon_getHeaderByHash/test_06.json index 0fe38130..90e67ecd 100644 --- a/integration/mainnet/erigon_getHeaderByHash/test_06.json +++ b/integration/mainnet/erigon_getHeaderByHash/test_06.json @@ -13,34 +13,35 @@ "response": { "jsonrpc":"2.0", "id":1, - "result": { - "AuRaSeal": null, - "AuRaStep": 0, - "Verkle": false, - "VerkleKeyVals": null, - "VerkleProof": null, - "baseFeePerGas": "0x347cd1939", - "blobGasUsed": "0xc0000", - "difficulty": "0x0", - "excessBlobGas": "0x0", - "extraData": "0x6265617665726275696c642e6f7267", - "gasLimit": "0x1c9c380", - "gasUsed": "0x9ad893", - "hash": "0x885dbb7ca37d235e2a211e04668cd382f54872292e2adf50d61d65785fa2b713", - "logsBloom": "0x1521542a4b00019c20180410e4b9d505612101e1c48e2944248505437c128c000051d2e4a0400225618048400c32d340436b89389e33308a3952054018fe80067cd4b44848458a2c09036f0d807e606111d4122a01548cd0d0b490cad830151014c847490af0890000601a902888685822278843224804618621459d28091100200700484220407803cd4c798b02228424559ce78b2d00786c0b094428b80c4887c19a1259886152251851dec902a5a224f8885c0e8ac08628e5344020aa46e441d0184a00b36347a940b2b00248d10a126126509621a5d5ac71f18739107184313abc0c112184c578045280a7211385052250b6fcb6a2501fb92b985440dd4f", - "miner": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5", - "mixHash": "0xb78df4881bf0331aa0144de47833a9668d5fd52453efc2212b3e807f1be1fd57", - "nonce": "0x0000000000000000", - "number": "0x12c135c", - "parentBeaconBlockRoot": "0xdca8a25203be7c6ce5927ed54069d739f8855304a1a524960915cb18a84bbe1c", - "parentHash": "0xe1629604a508fb8dff451435a73e348583aa1974257dd6615554092a350c677d", - "receiptsRoot": "0x545fb1dda0c9e5eca1c81d9cbaa2aee7fce963b2865523d18d2cdf2582e6928d", - "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", - "stateRoot": "0xd5ee4354bf24a2bb9ec854562dd4c908d71f91a720127f94065e5ceedaa240bc", - "timestamp": "0x661e02cf", - "transactionsRoot": "0xb8788f3f173a1a7e58a8948740d3a342838c7842f5b8fdad7245ecf2dd8f0048", - "withdrawalsRoot": "0xe7b710a4382477838a7bdd1373dcad857ca76a7f0b70b599cdf8c7c6ea3827c6" - } + "result": { + "AuRaSeal": null, + "AuRaStep": 0, + "Verkle": false, + "VerkleKeyVals": null, + "VerkleProof": null, + "requestsHash": null, + "baseFeePerGas": "0x347cd1939", + "blobGasUsed": "0xc0000", + "difficulty": "0x0", + "excessBlobGas": "0x0", + "extraData": "0x6265617665726275696c642e6f7267", + "gasLimit": "0x1c9c380", + "gasUsed": "0x9ad893", + "hash": "0x885dbb7ca37d235e2a211e04668cd382f54872292e2adf50d61d65785fa2b713", + "logsBloom": "0x1521542a4b00019c20180410e4b9d505612101e1c48e2944248505437c128c000051d2e4a0400225618048400c32d340436b89389e33308a3952054018fe80067cd4b44848458a2c09036f0d807e606111d4122a01548cd0d0b490cad830151014c847490af0890000601a902888685822278843224804618621459d28091100200700484220407803cd4c798b02228424559ce78b2d00786c0b094428b80c4887c19a1259886152251851dec902a5a224f8885c0e8ac08628e5344020aa46e441d0184a00b36347a940b2b00248d10a126126509621a5d5ac71f18739107184313abc0c112184c578045280a7211385052250b6fcb6a2501fb92b985440dd4f", + "miner": "0x95222290dd7278aa3ddd389cc1e1d165cc4bafe5", + "mixHash": "0xb78df4881bf0331aa0144de47833a9668d5fd52453efc2212b3e807f1be1fd57", + "nonce": "0x0000000000000000", + "number": "0x12c135c", + "parentBeaconBlockRoot": "0xdca8a25203be7c6ce5927ed54069d739f8855304a1a524960915cb18a84bbe1c", + "parentHash": "0xe1629604a508fb8dff451435a73e348583aa1974257dd6615554092a350c677d", + "receiptsRoot": "0x545fb1dda0c9e5eca1c81d9cbaa2aee7fce963b2865523d18d2cdf2582e6928d", + "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", + "stateRoot": "0xd5ee4354bf24a2bb9ec854562dd4c908d71f91a720127f94065e5ceedaa240bc", + "timestamp": "0x661e02cf", + "transactionsRoot": "0xb8788f3f173a1a7e58a8948740d3a342838c7842f5b8fdad7245ecf2dd8f0048", + "withdrawalsRoot": "0xe7b710a4382477838a7bdd1373dcad857ca76a7f0b70b599cdf8c7c6ea3827c6" + } } } ] diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_01.json b/integration/mainnet/erigon_getHeaderByNumber/test_01.json index 4c9527f8..f7a69cfe 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_01.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_01.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": null, "blobGasUsed": null, "difficulty": "0xa51845dfe9373", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_02.json b/integration/mainnet/erigon_getHeaderByNumber/test_02.json index dd0ab9f7..26509230 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_02.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_02.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": null, "blobGasUsed": null, "difficulty": "0x8792c6f47f70f", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_03.json b/integration/mainnet/erigon_getHeaderByNumber/test_03.json index 4121fd12..c1ee8129 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_03.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_03.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0xac41f3782", "blobGasUsed": null, "difficulty": "0x1c9992105e8015", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_04.json b/integration/mainnet/erigon_getHeaderByNumber/test_04.json index cfae7922..4a6add0e 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_04.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_04.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x34bcab274", "blobGasUsed": null, "difficulty": "0x3124462a736f88", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_05.json b/integration/mainnet/erigon_getHeaderByNumber/test_05.json index f5ca656b..10a8604b 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_05.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_05.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x2976ca599", "blobGasUsed": null, "difficulty": "0x0", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_06.json b/integration/mainnet/erigon_getHeaderByNumber/test_06.json index a01d0c53..2b1916cc 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_06.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_06.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x4cad3abe1", "blobGasUsed": null, "difficulty": "0x0", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_07.json b/integration/mainnet/erigon_getHeaderByNumber/test_07.json index fab8fdf3..a606b293 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_07.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_07.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x50ead8e39", "blobGasUsed": null, "difficulty": "0x0", diff --git a/integration/mainnet/erigon_getHeaderByNumber/test_08.json b/integration/mainnet/erigon_getHeaderByNumber/test_08.json index 81f7a236..99fe6ebe 100644 --- a/integration/mainnet/erigon_getHeaderByNumber/test_08.json +++ b/integration/mainnet/erigon_getHeaderByNumber/test_08.json @@ -15,6 +15,7 @@ "Verkle": false, "VerkleKeyVals": null, "VerkleProof": null, + "requestsHash": null, "baseFeePerGas": "0x2ea933c62", "blobGasUsed": "0x0", "difficulty": "0x0",