Skip to content

Commit

Permalink
fix tests (#20)
Browse files Browse the repository at this point in the history
Co-authored-by: PiVortex <[email protected]>
  • Loading branch information
PiVortex and PiVortex authored Sep 9, 2024
1 parent 174c64e commit d5906e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions contract-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ crate-type = ["cdylib", "rlib"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
near-sdk = { version = "5.1.0", features = ["legacy"] }
near-sdk = "5.4.0"

[dev-dependencies]
near-sdk = { version = "5.1.0", features = ["unit-testing"] }
near-workspaces = { version = "0.10.0", features = ["unstable"] }
near-sdk = { version = "5.4.0", features = ["unit-testing"] }
near-workspaces = { version = "0.11.0", features = ["unstable"] }
tokio = { version = "1.12.0", features = ["full"] }
serde_json = "1"

Expand Down
2 changes: 1 addition & 1 deletion contract-rs/tests/test_basics.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use near_sdk::NearToken;
use near_workspaces::types::NearToken;
use serde_json::json;

const FIVE_NEAR: NearToken = NearToken::from_near(5);
Expand Down

0 comments on commit d5906e1

Please sign in to comment.