-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hive ethereum/rpc
suite hangs on http/CanonicalChain
test
#1583
Comments
This test only checks whether or not uncles, receipts, and transactions can be fetched over RPC, and are consistent. We can implement a This does not need to be a valid proof of work or clique chain, and we can use the |
Another note - this also effects at least these tests in the
|
Closed by #1817 hopefully. |
@Rjected I debugged this and it's because the provided genesis state:
does not activate Paris and we end up here: reth/crates/blockchain-tree/src/blockchain_tree.rs Lines 378 to 385 in 236a10e
not sure how to fix properly, all solutions that come to mind rn are a bit hacky, like manually adding the paris hardfork for clique... |
marking as closed because this used legacy |
Describe the bug
Currently, every test except for
http/CanonicalChain
completes in theethereum/rpc
test suite. In the following run from #1348, every other test succeeds - you can see this because thehttp/CanonicalChain
test has the IDtest=6
, and every other test (besidestest=1
, which completes only after the suite is done) has a log message with eitherpass=true
orpass=false
.The timed out
ethereum/rpc
actions run:https://github.com/paradigmxyz/reth/actions/runs/4272628614/jobs/7438032380
Local logs for this test show that the latest block is being polled, but the chain does not advance:
Simulator RPC logs
The test is implemented here:
https://github.com/ethereum/hive/blob/master/simulators/ethereum/rpc/ethclient.go#L290
This is because the entire test suite depends on reth being able to mine blocks with clique:
https://github.com/ethereum/hive/blob/e808ab73c768c2003f5a6138fa528e01ef8e38d3/simulators/ethereum/rpc/main.go#L30-L34
So we need to figure out a way to regularly produce new blocks,
or exclude this test from the CI run until we can do so properly.EDIT: So many tests depend on this behavior that we need to implement some block production
Steps to reproduce
Run the hive tests using the instructions in #851, running the
ethereum/rpc
simulator.Node logs
No response
Platform(s)
No response
What version/commit are you on?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: