Skip to content

Commit 1ade639

Browse files
authored
feat: bump near crates to 0.35 (#186)
1 parent 5cf3bca commit 1ade639

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "near-jsonrpc-client"
3-
version = "0.20.0"
3+
version = "0.21.0"
44
authors = ["Near Inc <hello@nearprotocol.com>"]
55
edition = "2024"
66
license = "MIT OR Apache-2.0"
@@ -19,10 +19,10 @@ thiserror = "2.0"
1919
serde_json = "1.0.85"
2020
lazy_static = "1.4.0"
2121

22-
near-crypto = "0.34"
23-
near-primitives = { version = "0.34", features = ["test_utils"] }
24-
near-chain-configs = "0.34"
25-
near-jsonrpc-primitives = "0.34"
22+
near-crypto = "0.35"
23+
near-primitives = { version = "0.35", features = ["test_utils"] }
24+
near-chain-configs = "0.35"
25+
near-jsonrpc-primitives = "0.35"
2626

2727
[dev-dependencies]
2828
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }

src/methods/query.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ impl RpcMethod for RpcQueryRequest {
254254
}
255255
} else {
256256
RpcQueryError::ContractExecutionError {
257-
vm_error: error,
257+
vm_error: error.clone(),
258+
error: near_primitives::errors::FunctionCallError::ExecutionError(error),
258259
block_height,
259260
block_hash,
260261
}

0 commit comments

Comments
 (0)