Skip to content

Commit

Permalink
Prepend sov- prefix to all releasable crates (#824)
Browse files Browse the repository at this point in the history
* celestia -> sov-celestia-adapter in manifests & docs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* celestia -> sov-celestia-adapter in *.rs

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* risc0-adapter -> sov-risc0-adapter

Signed-off-by: Filippo Costa <filippo@sovlabs.io>

* Fix Celestia rename

* Rename zk-cycle-utils/macros

* cargo fmt --all

---------

Signed-off-by: Filippo Costa <filippo@sovlabs.io>
  • Loading branch information
neysofu authored Sep 8, 2023
1 parent 83ba024 commit b735eaf
Show file tree
Hide file tree
Showing 39 changed files with 376 additions and 330 deletions.
170 changes: 85 additions & 85 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions adapters/celestia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "celestia"
name = "sov-celestia-adapter"
version = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
Expand Down Expand Up @@ -29,7 +29,7 @@ serde_json = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
thiserror = { workspace = true }
tracing = { workspace = true }
zk-cycle-macros = { path = "../../utils/zk-cycle-macros", optional = true }
sov-zk-cycle-macros = { path = "../../utils/zk-cycle-macros", optional = true }
risc0-zkvm = { version = "0.16", default-features = false, features = ["std"], optional = true }
risc0-zkvm-platform = { version = "0.16", optional = true }

Expand All @@ -49,5 +49,5 @@ prost-build = { version = "0.11" }
[features]
default = []
native = ["dep:tokio", "dep:jsonrpsee", "dep:serde_json", "tendermint/default", "sov-rollup-interface/native"]
bench = ["zk-cycle-macros/bench", "risc0-zkvm", "risc0-zkvm-platform"]
bench = ["sov-zk-cycle-macros/bench", "risc0-zkvm", "risc0-zkvm-platform"]
verifier = []
2 changes: 1 addition & 1 deletion adapters/celestia/src/verifier/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub mod proofs;

use proofs::*;
#[cfg(all(target_os = "zkvm", feature = "bench"))]
use zk_cycle_macros::cycle_tracker;
use sov_zk_cycle_macros::cycle_tracker;

use self::address::CelestiaAddress;
use crate::share_commit::recreate_commitment;
Expand Down
4 changes: 2 additions & 2 deletions adapters/risc0/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "risc0-adapter"
name = "sov-risc0-adapter"
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
Expand All @@ -22,7 +22,7 @@ serde = { workspace = true }
bytemuck = "1.13.1"
once_cell = { version = "1.7.2", optional = true }
parking_lot = { version = "0.12.1", optional = true }
zk-cycle-utils = { path = "../../utils/zk-cycle-utils" }
sov-zk-cycle-utils = { path = "../../utils/zk-cycle-utils" }
sov-rollup-interface = { path = "../../rollup-interface" }

[features]
Expand Down
2 changes: 1 addition & 1 deletion adapters/risc0/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use risc0_zkvm::{
};
use sov_rollup_interface::zk::{Zkvm, ZkvmHost};
#[cfg(feature = "bench")]
use zk_cycle_utils::{cycle_count_callback, get_syscall_name, get_syscall_name_cycles};
use sov_zk_cycle_utils::{cycle_count_callback, get_syscall_name, get_syscall_name_cycles};

#[cfg(feature = "bench")]
use crate::metrics::metrics_callback;
Expand Down
Loading

0 comments on commit b735eaf

Please sign in to comment.