From fd062c5461406571edadecfeb7a8a06fe107a286 Mon Sep 17 00:00:00 2001 From: frisitano Date: Wed, 4 Dec 2024 23:34:22 +0800 Subject: [PATCH] fix: Cargo.toml dependencies --- Cargo.lock | 2 ++ crates/scroll/state-commitment/Cargo.toml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c647ade0a121..d4a24c1dbb12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12400,6 +12400,7 @@ dependencies = [ [[package]] name = "zktrie" version = "0.3.0" +source = "git+https://github.com/scroll-tech/zktrie.git?rev=309160464c1cd2b87a578ed6d9b6e98205ae4640#309160464c1cd2b87a578ed6d9b6e98205ae4640" dependencies = [ "gobuild", "zktrie_rust", @@ -12408,6 +12409,7 @@ dependencies = [ [[package]] name = "zktrie_rust" version = "0.3.0" +source = "git+https://github.com/scroll-tech/zktrie.git?rev=309160464c1cd2b87a578ed6d9b6e98205ae4640#309160464c1cd2b87a578ed6d9b6e98205ae4640" dependencies = [ "hex", "lazy_static", diff --git a/crates/scroll/state-commitment/Cargo.toml b/crates/scroll/state-commitment/Cargo.toml index e636b68573dc..2272a2fa0a24 100644 --- a/crates/scroll/state-commitment/Cargo.toml +++ b/crates/scroll/state-commitment/Cargo.toml @@ -30,8 +30,8 @@ metrics = { workspace = true, optional = true } # zktrie poseidon-bn254.workspace = true -zktrie_rust = { path = "/Users/f/dev/scroll/zktrie/rs_zktrie", optional = true } -zktrie = { path = "/Users/f/dev/scroll/zktrie", features = ["rs_zktrie"], optional = true } +zktrie_rust = { git = "https://github.com/scroll-tech/zktrie.git", rev = "309160464c1cd2b87a578ed6d9b6e98205ae4640", optional = true } +zktrie = { git = "https://github.com/scroll-tech/zktrie.git", rev = "309160464c1cd2b87a578ed6d9b6e98205ae4640", features = ["rs_zktrie"], optional = true } # misc tracing.workspace = true @@ -44,8 +44,8 @@ reth-trie = { workspace = true, features = ["test-utils" ] } reth-trie-common = { workspace = true, features = ["test-utils", "arbitrary"] } reth-provider = { workspace = true, features = ["test-utils" ] } alloy-consensus.workspace = true -zktrie_rust = { path = "/Users/f/dev/scroll/zktrie/rs_zktrie" } -zktrie = { path = "/Users/f/dev/scroll/zktrie", features = ["rs_zktrie"] } +zktrie_rust = { git = "https://github.com/scroll-tech/zktrie.git", rev = "309160464c1cd2b87a578ed6d9b6e98205ae4640" } +zktrie = { git = "https://github.com/scroll-tech/zktrie.git", rev = "309160464c1cd2b87a578ed6d9b6e98205ae4640", features = ["rs_zktrie"] } proptest.workspace = true proptest-arbitrary-interop.workspace = true