Skip to content

Commit

Permalink
feat: Change to latest kona usage of advance_to_target (#243)
Browse files Browse the repository at this point in the history
* feat: use kona driver directly, debug why multiblock does not work

* wip: need to add back update_cache

* works!

* works

* clean

* rm"

* rm

* fix

* add

* rm

* rm

* add

* fix

* add

* add logging

* add

* add

* add

* add

* fix

* add

* add

* add

* add

* add

* add

---------

Co-authored-by: Ubuntu <[email protected]>
  • Loading branch information
ratankaliani and Ubuntu authored Nov 28, 2024
1 parent 1319a76 commit 20a72ac
Show file tree
Hide file tree
Showing 17 changed files with 527 additions and 385 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified elf/range-elf
Binary file not shown.
3 changes: 0 additions & 3 deletions programs/fault-proof/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ fn main() {
// DERIVATION & EXECUTION //
////////////////////////////////////////////////////////////////

println!("cycle-tracker-start: derivation-instantiation");
let cursor = new_pipeline_cursor(
oracle.clone(),
&boot,
Expand All @@ -118,8 +117,6 @@ fn main() {
);
let mut driver = Driver::new(cursor, executor, pipeline);

println!("cycle-tracker-end: derivation-instantiation");

println!("cycle-tracker-start: produce-output");
let (number, output_root) = driver
.advance_to_target(&boot.rollup_config, boot.claimed_l2_block_number)
Expand Down
6 changes: 6 additions & 0 deletions programs/range/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ anyhow.workspace = true

# workspace (ethereum)
op-alloy-consensus.workspace = true
op-alloy-rpc-types-engine.workspace = true
op-alloy-protocol.workspace = true
op-alloy-genesis.workspace = true
alloy-consensus.workspace = true
alloy-eips.workspace = true
alloy-rlp.workspace = true
alloy-primitives.workspace = true

# sp1
sp1-zkvm.workspace = true
Expand All @@ -27,6 +31,8 @@ sp1-zkvm.workspace = true
kona-executor.workspace = true
kona-derive.workspace = true
kona-proof.workspace = true
kona-driver.workspace = true
kona-preimage.workspace = true

# op-succinct
op-succinct-client-utils.workspace = true
Expand Down
Loading

0 comments on commit 20a72ac

Please sign in to comment.