Skip to content

Commit

Permalink
Merge branch 'develop' into enhancement/memo-format
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenKor committed Jan 11, 2024
2 parents 519efe6 + 11c71d9 commit 55ab709
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 160 deletions.
8 changes: 7 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ default-members = [
"libzkbob-rs",
"libzkbob-rs-node",
"libs/kvdb-web",
]
]

[patch."https://github.com/zkbob/libzeropool-zkbob"]
libzeropool = { git = "https://github.com/zkbob//libzeropool-zkbob", branch = "devel", package = "libzeropool-zkbob" }

[patch.crates-io]
libzeropool = { git = "https://github.com/zkbob//libzeropool-zkbob", branch = "devel", package = "libzeropool-zkbob" }
4 changes: 2 additions & 2 deletions libzkbob-rs-node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ exclude = ["index.node"]
crate-type = ["cdylib"]

[dependencies]
libzkbob-rs = { version = "1.4.0", features = ["native"] }
#libzkbob-rs = { path = "../libzkbob-rs", features = ["native"] }
#libzkbob-rs = { version = "1.4.0", features = ["native"] }
libzkbob-rs = { path = "../libzkbob-rs", features = ["native"] }
neon = { version = "0.10.0", default-features = false, features = ["channel-api", "napi-6", "promise-api", "task-api"] }
# FIXME: Using a random fork for now
neon-serde = { package = "neon-serde3", version = "0.10" }
Expand Down
2 changes: 2 additions & 0 deletions libzkbob-rs-wasm/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ impl UserAccount {
.into_iter()
.map(|bulk| -> Vec<ParseResult> {
let eta = &self.inner.borrow().keys.eta;
let kappa = &self.inner.borrow().keys.kappa;
let params = &self.inner.borrow().params;
let range = from_index.unwrap_or(0)..to_index.unwrap_or(u64::MAX);
let bulk_results: Vec<ParseResult> = vec_into_iter(bulk.txs)
Expand All @@ -490,6 +491,7 @@ impl UserAccount {
&tx.memo,
Some(&tx.tx_hash),
eta,
kappa,
params
).ok()
})
Expand Down
Loading

0 comments on commit 55ab709

Please sign in to comment.