Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

WIP: making Reth crates compatible with RISC-V and implementing a zkEVM STF with SP1 #3

Closed
wants to merge 33 commits into from

Conversation

puma314
Copy link

@puma314 puma314 commented May 23, 2024

No description provided.

Comment on lines +20 to +22
for (address, proof) in sp1_input.address_to_proof {
println!("Verifying account proof for address {address:?}...");
proof.verify(state_root).expect("account proof verification failed");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is missing validation that address == proof.address, since in proof.verify() it uses its own proof.address field for the verification.

@github-actions github-actions bot closed this Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants