-
Notifications
You must be signed in to change notification settings - Fork 97
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
feat: prove blocks using reth #226
Conversation
# Conflicts: # Cargo.toml # host/src/preflight.rs # lib/src/protocol_instance.rs # provers/sp1/guest/elf/sp1-guest
# Conflicts: # Cargo.lock # Cargo.toml # core/src/lib.rs # core/src/preflight.rs # core/src/provider/db.rs # lib/Cargo.toml # lib/src/builder/execute.rs # lib/src/builder/finalize.rs # lib/src/builder/initialize.rs # lib/src/builder/mod.rs # lib/src/input.rs # lib/src/mem_db.rs # lib/src/protocol_instance.rs # provers/sp1/guest/elf/sp1-guest
# Conflicts: # Cargo.lock # Cargo.toml # lib/Cargo.toml # lib/src/builder/execute.rs # lib/src/builder/finalize.rs # lib/src/builder/initialize.rs # lib/src/builder/mod.rs # lib/src/protocol_instance.rs # provers/risc0/guest/Cargo.lock # provers/risc0/guest/Cargo.toml # provers/risc0/guest/src/main.rs # provers/sp1/guest/Cargo.lock # provers/sp1/guest/Cargo.toml # provers/sp1/guest/elf/sp1-guest # provers/sp1/guest/src/main.rs # provers/sp1/guest/src/zk_op.rs
lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
just wonder if that incorrect access list gas issue does not exist under this reth model?
Still necessary! https://github.com/taikoxyz/taiko-reth/blob/d20c700ca296f7e4227b4c8c254a8d0f948bbd36/crates/ethereum/evm/src/execute.rs#L222 |
Weird..is that a bug existed in both zeth & official reth?? I thought reth should be ok as its target is geth equivalence, should not have such a bug. |
Blocks don't skip invalid transactions on Ethereum, so the behavior we're triggering is taiko specific, so not a bug there. |
wallet.set_chain_id(Some(chain_id)); | ||
println!("wallet: {:?}", wallet); | ||
|
||
// init rpc conn | ||
let http = Http::new(Url::parse(l1_rpc_url).expect("invalid rpc url")); | ||
let provider = ProviderBuilder::new() | ||
.with_recommended_fillers() | ||
.signer(EthereumSigner::from(wallet.clone())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't send transaction without this
reth v1.0.0-rc.2 taiko changes: taikoxyz/taiko-reth#6
revm v36 taiko changes: taikoxyz/revm#10