From bf73bdea1809d6e07e53025c1b940d0e8d21dea2 Mon Sep 17 00:00:00 2001 From: Zhang Zhuo Date: Wed, 14 Aug 2024 09:59:43 +0800 Subject: [PATCH] chore: upgrade trie to make it forward compatible with future trace changes (#1392) * [Feat] Optimize zktrieState with flatten proofs (#1388) * induce "query" mode for building sdb Signed-off-by: noelwei * switch zktrie dep Signed-off-by: noelwei * induce flatten proof and integration test Signed-off-by: noelwei * update zk_dep use key cache * fix test issue * update zktrie dep * induce mpt state updating * fix issue in chunk building --------- Signed-off-by: noelwei * update zktrie * use v0.8 for zktrie * use v0.9 for zktrie * update cargo lock --------- Signed-off-by: noelwei Co-authored-by: Ho --- Cargo.lock | 4 ++-- zktrie/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f4b998cc6f..71570bc891 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5560,7 +5560,7 @@ dependencies = [ [[package]] name = "zktrie" version = "0.3.0" -source = "git+https://github.com/scroll-tech/zktrie.git?branch=main#49e0f027d12abf7f2049c2cf1034128fc14f47dd" +source = "git+https://github.com/scroll-tech/zktrie.git?branch=v0.9#460b8c22af65b7809164548cba1e0253b6db5a70" dependencies = [ "gobuild", "zktrie_rust", @@ -5569,7 +5569,7 @@ dependencies = [ [[package]] name = "zktrie_rust" version = "0.3.0" -source = "git+https://github.com/scroll-tech/zktrie.git?branch=main#49e0f027d12abf7f2049c2cf1034128fc14f47dd" +source = "git+https://github.com/scroll-tech/zktrie.git?branch=v0.9#460b8c22af65b7809164548cba1e0253b6db5a70" dependencies = [ "hex", "lazy_static", diff --git a/zktrie/Cargo.toml b/zktrie/Cargo.toml index 578badba58..33cc999f4c 100644 --- a/zktrie/Cargo.toml +++ b/zktrie/Cargo.toml @@ -8,7 +8,7 @@ license.workspace = true [dependencies] halo2curves.workspace = true -zktrie = { git = "https://github.com/scroll-tech/zktrie.git", branch = "main", features= ["rs_zktrie"] } +zktrie = { git = "https://github.com/scroll-tech/zktrie.git", branch = "v0.9", features= ["rs_zktrie"] } poseidon-base.workspace = true eth-types = { path = "../eth-types" } num-bigint.workspace = true