Open fjl opened 10 months ago
@jframe any insight into this? I am not sure if any of the clique tweaks made it back into Besu main that may have caused issue here.
Reference #6164
Investigated and unrelated to #6164, parsing error is unrelated to protocol schedule.
@jframe any insight into this? I am not sure if any of the clique tweaks made it back into Besu main that may have caused issue here.
It doesn't look like this is related to the clique non-empty block mining changes I made. I quickly tested this on 23.10.1 before my change and it's failing there too.
Think the cause is that are running the clique block miner when we do block import and it's failing to parse the extra data after we import the pos blocks. So we should just not run the block miner. More complex than it sounds though as clique ignores the miner-enabled flag.
Any news here? Can this be resolved at all?
@jframe bumping this back up. Let's discuss.
It seems there is an issue importing post-merge blocks when the chain being merged from uses clique consensus. I found this issue while trying to create a hive test involving besu.
Steps to Reproduce (Bug)
Download genesis.json and chain.rlp. They are contained in clique-bug.zip
Run besu like this:
besu --logging=INFO --data-storage-format=BONSAI --genesis-file=genesis.json --min-gas-price=1 --tx-pool-price-bump=0 --network-id=3503995874084926 --host-allowlist=* --rpc-http-enabled --rpc-http-api=DEBUG,ETH,NET,WEB3,ADMIN --rpc-http-host=0.0.0.0 --rpc-ws-enabled --rpc-ws-api=DEBUG,ETH,NET,WEB3,ADMIN --rpc-ws-host=0.0.0.0 --engine-host-allowlist=* blocks import --run --skip-pow-validation-enabled --from=chain.rlp
Expected behavior: chain.rlp should be imported successfully up to block 2000.
Actual behavior:
Versions
besu/v23.10.2-dev-236779d3/linux-x86_64/openjdk-java-17