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

feat: rkyv cross-platform requires no arc #331

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
136 changes: 14 additions & 122 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ reqwest = { version = "0.12", features = ["json"] }
csv = "1.3.0"
serde = { version = "1.0.198", features = ["derive"] }
serde_json = { version = "1.0.117", default-features = false }
rkyv = {version = "0.7"}
rkyv = { version = "0.8" }
hex = "0.4.3"
bincode = "1.3.3"
base64 = "0.22.1"
Expand Down Expand Up @@ -90,7 +90,7 @@ op-alloy-network = { version = "0.6.8", default-features = false }
# sp1
sp1-lib = { version = "4.0.0", features = ["verify"] }
sp1-sdk = { version = "4.0.0" }
sp1-zkvm = {version = "4.0.0", features = ["verify", "embedded"] }
sp1-zkvm = { version = "4.0.0", features = ["verify", "embedded"] }
sp1-build = { version = "4.0.0" }

[profile.release-client-lto]
Expand Down
Binary file modified elf/range-elf
Binary file not shown.
5 changes: 0 additions & 5 deletions scripts/prove/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ clap = { workspace = true }
cargo_metadata = { workspace = true }
anyhow.workspace = true
dotenv.workspace = true
num-format.workspace = true
csv.workspace = true

# kona
Expand All @@ -34,12 +33,8 @@ op-succinct-host-utils.workspace = true
op-succinct-client-utils.workspace = true
op-succinct-scripts = { path = "../utils" }

# op-alloy
op-alloy-genesis.workspace = true

# alloy
alloy-primitives = { workspace = true }
alloy-eips = { workspace = true }

# sp1
sp1-sdk = { workspace = true }
Expand Down
6 changes: 0 additions & 6 deletions scripts/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,8 @@ kona-host = { workspace = true }
op-succinct-host-utils.workspace = true
op-succinct-client-utils.workspace = true

# op-alloy
op-alloy-consensus.workspace = true
op-alloy-network.workspace = true
op-alloy-rpc-types.workspace = true

# sp1
sp1-sdk = { workspace = true }
dashmap = { version = "6.1.0", features = ["rayon"] }

[build-dependencies]
op-succinct-build-utils.workspace = true
7 changes: 4 additions & 3 deletions utils/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ fn build_zkvm_program(program: &str) {
&format!("{}/{}", metadata.workspace_root.join("programs"), program),
BuildArgs {
elf_name: Some(format!("{}-elf", program)),
docker: true,
tag: "v4.0.0-rc.10".to_string(),
output_directory: Some("../../elf".to_string()),
// docker: true,
// tag: "v4.0.0-rc.10".to_string(),
..Default::default()
},
);
Expand All @@ -100,7 +101,7 @@ pub fn build_all(program_args: ProgramBuildArgs) {
// Note: Don't comment this out, because the Docker program depends on the native program
// for range being built.
build_native_program("range", program_args);
// build_zkvm_program("range");
build_zkvm_program("range");

// Build aggregation program.
// build_zkvm_program("aggregation");
Expand Down
Loading
Loading