fix(l1): update rpc-compat hive tests to Prague and fix failing ones#2043
Conversation
|
total_difficulty and fix nonce serializationrpc-compat hive tests to Prague and fix failing ones
| - name: "Rpc Compat tests" | ||
| simulation: ethereum/rpc-compat | ||
| test_pattern: /eth_chainId|eth_getTransactionByBlockHashAndIndex|eth_getTransactionByBlockNumberAndIndex|eth_getCode|eth_getStorageAt|eth_call|eth_getTransactionByHash|eth_getBlockByHash|eth_getBlockByNumber|eth_createAccessList|eth_getBlockTransactionCountByNumber|eth_getBlockTransactionCountByHash|eth_getBlockReceipts|eth_getTransactionReceipt|eth_blobGasPrice|eth_blockNumber|ethGetTransactionCount|debug_getRawHeader|debug_getRawBlock|debug_getRawTransaction|debug_getRawReceipts|eth_estimateGas|eth_getBalance|eth_sendRawTransaction|eth_getProof|eth_getLogs|eth_syncing | ||
| test_pattern: /debug_getRawBlock|debug_getRawHeader|debug_getRawReceipts|debug_getRawTransaction|eth_blobBaseFee|eth_blockNumber|eth_call|eth_chainId|eth_createAccessList|eth_estimateGas|eth_getBalance|eth_getBlockByHash|eth_getBlockByNumber|eth_getBlockReceipts|eth_getBlockTransactionCountByHash|eth_getBlockTransactionCountByNumber|eth_getCode|eth_getLogs|eth_getProof|eth_getStorageAt|eth_getTransactionByBlockHashAndIndex|eth_getTransactionByBlockNumberAndIndex|eth_getTransactionByHash|eth_getTransactionCount|eth_getTransactionReceipt|eth_sendRawTransaction|eth_syncing |
There was a problem hiding this comment.
If I understand correctly, we would pass all tests now. Cant we remove test pattern then?
There was a problem hiding this comment.
Not yet, we are still missing feeHistory test, which will be added on #1797. That PR depends on this one in order to be merged!
| Ok(None) | ||
| } | ||
|
|
||
| fn total_difficulty_check<'a>( |
There was a problem hiding this comment.
At some point we removed total difficulty, but we had to reintroduce it again, I can't remember why. @avilagaston9 do you remember?
Otherwise, love the red!
There was a problem hiding this comment.
I wasn't in the project when it was added again. But maybe we shouldn't remove this check, it was added here: #577. Maybe we should just skip serializing instead.
mpaulucci
left a comment
There was a problem hiding this comment.
🚀 +1 pending Gaston's confirmation
#2043) **Description** This PR updates the hive tests suite to a new hive revision and fixes new tests by removing the `total_difficulty` field on the block scheme. This field was already removed in #304 and reintroduced in #566 due to the usage in hive engine test suite. Hive tests related to the wrong encoding of `nonce` field were also fixed --------- Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
#2043) **Description** This PR updates the hive tests suite to a new hive revision and fixes new tests by removing the `total_difficulty` field on the block scheme. This field was already removed in #304 and reintroduced in #566 due to the usage in hive engine test suite. Hive tests related to the wrong encoding of `nonce` field were also fixed --------- Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
#2043) **Description** This PR updates the hive tests suite to a new hive revision and fixes new tests by removing the `total_difficulty` field on the block scheme. This field was already removed in #304 and reintroduced in #566 due to the usage in hive engine test suite. Hive tests related to the wrong encoding of `nonce` field were also fixed --------- Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
lambdaclass#2043) **Description** This PR updates the hive tests suite to a new hive revision and fixes new tests by removing the `total_difficulty` field on the block scheme. This field was already removed in lambdaclass#304 and reintroduced in lambdaclass#566 due to the usage in hive engine test suite. Hive tests related to the wrong encoding of `nonce` field were also fixed --------- Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
Description
This PR updates the hive tests suite to a new hive revision and fixes new tests by removing the
total_difficultyfield on the block scheme. This field was already removed in #304 and reintroduced in #566 due to the usage in hive engine test suite.Hive tests related to the wrong encoding of
noncefield were also fixed