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(programs): rkyv serialization #332

Merged
merged 7 commits into from
Jan 16, 2025
Merged
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", features = ["bytecheck"] }
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
1 change: 1 addition & 0 deletions configs/10/rollup.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"ecotone_time": 1710374401,
"fjord_time": 1720627201,
"granite_time": 1726070401,
"holocene_time": 1736445601,
"batch_inbox_address": "0xff00000000000000000000000000000000000010",
"deposit_contract_address": "0xbeb5fc579115071764c7423a4f12edde41f106ed",
"l1_system_config_address": "0x229047fed2591dbec1ef1118d64f7af3db9eb290",
Expand Down
Binary file modified elf/aggregation-elf
Binary file not shown.
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
1 change: 1 addition & 0 deletions utils/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ fn build_zkvm_program(program: &str) {
&format!("{}/{}", metadata.workspace_root.join("programs"), program),
BuildArgs {
elf_name: Some(format!("{}-elf", program)),
output_directory: Some("../../elf".to_string()),
docker: true,
tag: "v4.0.0-rc.10".to_string(),
..Default::default()
Expand Down
2 changes: 1 addition & 1 deletion utils/client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod executor;
pub use executor::block_on;

mod oracle;
pub use oracle::InMemoryOracle;
pub use oracle::{InMemoryOracle, InMemoryOracleData};

pub mod precompiles;

Expand Down
Loading
Loading