Skip to content

Commit

Permalink
feat(range): use k256 feature in revm in kona (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani authored Dec 7, 2024
1 parent 64e6f72 commit 0bd9ebe
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
23 changes: 12 additions & 11 deletions Cargo.lock

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

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ tracing-subscriber = { version = "0.3.18", features = ["fmt"] }
# kona
# Note: Switch to latest version of kona once the std::process::Command issue is resolved.
# Branch: patch-kona-proof-v0.1.0
kona-common = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-common-proc = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-preimage = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b", features = [
kona-common = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-common-proc = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-preimage = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425", features = [
"rkyv",
] }
kona-mpt = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-driver = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-derive = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b", default-features = false }
kona-executor = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-client = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-host = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-proof = { git = "https://github.com/succinctlabs/kona", rev = "94bfb0e7eeee25ee76e19d584cf12bc57c1c281b" }
kona-mpt = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-driver = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-derive = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425", default-features = false }
kona-executor = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-client = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-host = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }
kona-proof = { git = "https://github.com/succinctlabs/kona", rev = "8ec836eae1cfe2ebad4624ae4f29839011382425" }

# op-succinct
op-succinct-prove = { path = "scripts/prove" }
Expand Down Expand Up @@ -105,5 +105,5 @@ lto = "fat"
tiny-keccak = { git = "https://github.com/sp1-patches/tiny-keccak", tag = "tiny_keccak-v2.0.2-patch-v1" }
sha2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", tag = "sha2-v0.10.8-patch-v1" }
ecdsa = { git = "https://github.com/sp1-patches/signatures", tag = "ecdsa-v0.16.8-patch-v1" }
substrate-bn = { git = "https://github.com/sp1-patches/bn", tag = "substrate_bn-v0.6.0-patch-v1" }
substrate-bn = { git = "https://github.com/sp1-patches/bn", tag = "substrate_bn-v0.6.0-patch-v2" }
sha3 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha3", tag = "sha3-v0.10.8-patch-v1" }
Binary file modified elf/fault-proof-elf
Binary file not shown.
Binary file modified elf/range-elf
Binary file not shown.
1 change: 1 addition & 0 deletions utils/client/src/oracle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ impl InMemoryOracle {
.values()
.map(|blob| KzgRsBlob::from_slice(&blob.data.0).unwrap())
.collect_vec();
println!("Verifying {} blobs", blob_datas.len());
// Verify reconstructed blobs.
kzg_rs::KzgProof::verify_blob_kzg_proof_batch(
blob_datas,
Expand Down

0 comments on commit 0bd9ebe

Please sign in to comment.