Skip to content
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

bug: block replay from witness results in a different root hash #6

Open
cffls opened this issue Apr 23, 2024 · 0 comments
Open

bug: block replay from witness results in a different root hash #6

cffls opened this issue Apr 23, 2024 · 0 comments

Comments

@cffls
Copy link
Collaborator

cffls commented Apr 23, 2024

Original issue from: 0xPolygonZero/zk_evm#295. It is better to track this issue in erigon directly.

tested using the feat/zero branch of erigon on the sepolia testnet.

successful rpc call:

curl $RPC_URL \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"debug_traceBlockByNumber","params":["0x4c4b3f", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}'

failed rpc call:

curl $RPC_URL \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"debug_traceBlockByNumber","params":["0x4c4b3f", {"tracer": "zeroTracer"}],"id":1,"jsonrpc":"2.0"}'

error:

{"block_witness":null,"error":{"code":-32000,"message":"final root: 356dcc4eeda2a07cb4c76ada19d4d1f14463e0463ef7b5b87710611150b2b22b, expected: f31367edbdcafeeb723d5b749ce1999a07a6da6411065f66b5e3e295358f2b23"}}
@temaniarpit27 temaniarpit27 self-assigned this Aug 14, 2024
@temaniarpit27 temaniarpit27 removed their assignment Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants