You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe I'm hitting a discrepancy between geth and anvil in receipt root calculation:
ERROR[06-05|14:42:17.255] sequencer temporarily failed to start building new block err=
"temp: failed to fetch L1 block info and receipts: failed to fetch list of receipts:
expected receipt root 0x987c20331e3e9b054da27a8269e5e558c0db18344de1a8413d0eaec32d63884d but computed 0x6a3f473ade72ee4cb1d10a27d4cae4e2bbcdc3394e94de33c3f76654568ecf85 from retrieved receipts"
This issue resembles #7698, which was fixed in #7718.
let receipts_root = trie::ordered_trie_root(receipts.iter().map(alloy_rlp::encode));
As far as I can tell, this is the only place in anvil where receipts_root is calculated, and it uses the same rlp::encode function that was replaced in the above fix for the transaction root.
Drive-by request: Out of necessity, I'm currently using a build from the open PR #7918, which was approved with CI failures, but now seems stagnant. Can it be merged?
The text was updated successfully, but these errors were encountered:
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (a66a0cf 2024-05-31T00:57:36.573315267Z)
What command(s) is the bug in?
anvil
Operating System
Linux
Describe the bug
I believe I'm hitting a discrepancy between geth and anvil in receipt root calculation:
This issue resembles #7698, which was fixed in #7718.
See
foundry/crates/anvil/src/eth/backend/executor.rs
Line 204 in 00854b6
As far as I can tell, this is the only place in anvil where
receipts_root
is calculated, and it uses the samerlp::encode
function that was replaced in the above fix for the transaction root.Drive-by request: Out of necessity, I'm currently using a build from the open PR #7918, which was approved with CI failures, but now seems stagnant. Can it be merged?
The text was updated successfully, but these errors were encountered: