diff --git a/build.sh b/build.sh index ce112183..72ebe95b 100755 --- a/build.sh +++ b/build.sh @@ -5,5 +5,4 @@ cargo +stable build --target wasm32-unknown-unknown --release cp target/wasm32-unknown-unknown/release/sputnik_staking.wasm ./sputnik-staking/res/ cp target/wasm32-unknown-unknown/release/sputnikdao2.wasm ./sputnikdao2/res/ cp target/wasm32-unknown-unknown/release/sputnikdao_factory2.wasm ./sputnikdao-factory2/res/ -cp target/wasm32-unknown-unknown/release/test_token.wasm ./test-token/res/ -cp target/wasm32-unknown-unknown/release/test_token.wasm ./workspaces-rs-tests/res/ \ No newline at end of file +cp target/wasm32-unknown-unknown/release/test_token.wasm ./test-token/res/ \ No newline at end of file diff --git a/workspaces-rs-tests/Cargo.toml b/workspaces-rs-tests/Cargo.toml index ee1382ac..b9d4e66a 100644 --- a/workspaces-rs-tests/Cargo.toml +++ b/workspaces-rs-tests/Cargo.toml @@ -15,6 +15,6 @@ near-sdk = { version = "4.0.0-pre.4", features = ["unstable"] } near-units = "0.2.0" serde_json = "1.0" tokio = { version = "1.14", features = ["full"] } -near-workspaces = { version = "0.10.0", features = ["unstable"] } +near-workspaces = { version = "0.10.0", features = ["unstable"] } as workspaces sputnikdao2 = { path = "../sputnikdao2" } sputnikdao-factory2 = { path = "../sputnikdao-factory2" } diff --git a/workspaces-rs-tests/tests/test_sputnikdao_factory.rs b/workspaces-rs-tests/tests/test_sputnikdao_factory.rs index f208ff66..c88c11eb 100644 --- a/workspaces-rs-tests/tests/test_sputnikdao_factory.rs +++ b/workspaces-rs-tests/tests/test_sputnikdao_factory.rs @@ -2,6 +2,9 @@ use near_sdk::json_types::Base64VecU8; use near_units::{parse_gas, parse_near}; use sputnikdao2::{Config, VersionedPolicy}; use std::str::FromStr; +use near_workspaces as workspaces; +use workspaces::types::{KeyType, SecretKey}; +use workspaces::AccountId; use workspaces::types::{KeyType, SecretKey}; use workspaces::AccountId;