minor changes

This commit is contained in:
Rostyslav Tyshko 2025-04-23 15:31:52 -04:00
parent 6c5ac1b924
commit a5cb2ee8e2
5 changed files with 1294 additions and 570 deletions

1856
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -19,7 +19,7 @@ reqwest.workspace = true
thiserror.workspace = true
tokio.workspace = true
tempfile.workspace = true
risc0-zkvm = { git = "https://github.com/risc0/risc0.git", branch = "release-1.2" }
risc0-zkvm = { git = "https://github.com/risc0/risc0.git", branch = "release-2.0" }
hex.workspace = true
actix-rt.workspace = true

View File

@ -851,7 +851,7 @@ impl NodeCore {
let new_balance = {
let acc_map_read_guard = self.storage.read().await;
let acc = acc_map_read_guard.acc_map.get(&acc_addr_sender).unwrap();
let acc = acc_map_read_guard.acc_map.get(&acc_addr_rec).unwrap();
acc.balance
};

View File

@ -11,7 +11,7 @@ log.workspace = true
serde.workspace = true
thiserror.workspace = true
risc0-zkvm = { git = "https://github.com/risc0/risc0.git", branch = "release-1.2" }
risc0-zkvm = { git = "https://github.com/risc0/risc0.git", branch = "release-2.0" }
test-methods = { path = "test_methods" }
[dependencies.accounts]

View File

@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"
[build-dependencies]
risc0-build = { git = "https://github.com/risc0/risc0.git", branch = "release-1.2" }
risc0-build = { git = "https://github.com/risc0/risc0.git", branch = "release-2.0" }
[package.metadata.risc0]
methods = ["guest"]