Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Sep 11, 2024
1 parent fb423fa commit fec00b0
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 57 deletions.
111 changes: 56 additions & 55 deletions near-sdk/src/environment/mock/mocked_blockchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ fn sdk_context_to_vm_context(
}

#[cfg(not(target_arch = "wasm32"))]

mod mock_chain {
use near_vm_runner::logic::{errors::VMLogicError, VMLogic};

Expand All @@ -197,91 +198,91 @@ mod mock_chain {
}

#[no_mangle]
extern "C" fn read_register(register_id: u64, ptr: u64) {
extern "C-unwind" fn read_register(register_id: u64, ptr: u64) {
with_mock_interface(|b| b.read_register(register_id, ptr))
}
#[no_mangle]
extern "C" fn register_len(register_id: u64) -> u64 {
extern "C-unwind" fn register_len(register_id: u64) -> u64 {
with_mock_interface(|b| b.register_len(register_id))
}
#[no_mangle]
extern "C" fn current_account_id(register_id: u64) {
extern "C-unwind" fn current_account_id(register_id: u64) {

Check warning on line 209 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L209

Added line #L209 was not covered by tests
with_mock_interface(|b| b.current_account_id(register_id))
}
#[no_mangle]
extern "C" fn signer_account_id(register_id: u64) {
extern "C-unwind" fn signer_account_id(register_id: u64) {

Check warning on line 213 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L213

Added line #L213 was not covered by tests
with_mock_interface(|b| b.signer_account_id(register_id))
}
#[no_mangle]
extern "C" fn signer_account_pk(register_id: u64) {
extern "C-unwind" fn signer_account_pk(register_id: u64) {
with_mock_interface(|b| b.signer_account_pk(register_id))
}
#[no_mangle]
extern "C" fn predecessor_account_id(register_id: u64) {
extern "C-unwind" fn predecessor_account_id(register_id: u64) {

Check warning on line 221 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L221

Added line #L221 was not covered by tests
with_mock_interface(|b| b.predecessor_account_id(register_id))
}
#[no_mangle]
extern "C" fn input(register_id: u64) {
extern "C-unwind" fn input(register_id: u64) {

Check warning on line 225 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L225

Added line #L225 was not covered by tests
with_mock_interface(|b| b.input(register_id))
}
#[no_mangle]
extern "C" fn block_index() -> u64 {
extern "C-unwind" fn block_index() -> u64 {

Check warning on line 229 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L229

Added line #L229 was not covered by tests
with_mock_interface(|b| b.block_index())
}
#[no_mangle]
extern "C" fn block_timestamp() -> u64 {
extern "C-unwind" fn block_timestamp() -> u64 {

Check warning on line 233 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L233

Added line #L233 was not covered by tests
with_mock_interface(|b| b.block_timestamp())
}
#[no_mangle]
extern "C" fn epoch_height() -> u64 {
extern "C-unwind" fn epoch_height() -> u64 {

Check warning on line 237 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L237

Added line #L237 was not covered by tests
with_mock_interface(|b| b.epoch_height())
}
#[no_mangle]
extern "C" fn storage_usage() -> u64 {
extern "C-unwind" fn storage_usage() -> u64 {

Check warning on line 241 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L241

Added line #L241 was not covered by tests
with_mock_interface(|b| b.storage_usage())
}
#[no_mangle]
extern "C" fn account_balance(balance_ptr: u64) {
extern "C-unwind" fn account_balance(balance_ptr: u64) {

Check warning on line 245 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L245

Added line #L245 was not covered by tests
with_mock_interface(|b| b.account_balance(balance_ptr))
}
#[no_mangle]
extern "C" fn account_locked_balance(balance_ptr: u64) {
extern "C-unwind" fn account_locked_balance(balance_ptr: u64) {

Check warning on line 249 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L249

Added line #L249 was not covered by tests
with_mock_interface(|b| b.account_locked_balance(balance_ptr))
}
#[no_mangle]
extern "C" fn attached_deposit(balance_ptr: u64) {
extern "C-unwind" fn attached_deposit(balance_ptr: u64) {

Check warning on line 253 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L253

Added line #L253 was not covered by tests
with_mock_interface(|b| b.attached_deposit(balance_ptr))
}
#[no_mangle]
extern "C" fn prepaid_gas() -> u64 {
extern "C-unwind" fn prepaid_gas() -> u64 {

Check warning on line 257 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L257

Added line #L257 was not covered by tests
with_mock_interface(|b| b.prepaid_gas())
}
#[no_mangle]
extern "C" fn used_gas() -> u64 {
extern "C-unwind" fn used_gas() -> u64 {

Check warning on line 261 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L261

Added line #L261 was not covered by tests
with_mock_interface(|b| b.used_gas())
}
#[no_mangle]
extern "C" fn random_seed(register_id: u64) {
extern "C-unwind" fn random_seed(register_id: u64) {
with_mock_interface(|b| b.random_seed(register_id))
}
#[no_mangle]
extern "C" fn sha256(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn sha256(value_len: u64, value_ptr: u64, register_id: u64) {

Check warning on line 269 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L269

Added line #L269 was not covered by tests
with_mock_interface(|b| b.sha256(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn keccak256(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn keccak256(value_len: u64, value_ptr: u64, register_id: u64) {
with_mock_interface(|b| b.keccak256(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn keccak512(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn keccak512(value_len: u64, value_ptr: u64, register_id: u64) {
with_mock_interface(|b| b.keccak512(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn ripemd160(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn ripemd160(value_len: u64, value_ptr: u64, register_id: u64) {
with_mock_interface(|b| b.ripemd160(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn ecrecover(
extern "C-unwind" fn ecrecover(

Check warning on line 285 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L285

Added line #L285 was not covered by tests
hash_len: u64,
hash_ptr: u64,
sig_len: u64,
Expand All @@ -295,7 +296,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn ed25519_verify(
extern "C-unwind" fn ed25519_verify(

Check warning on line 299 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L299

Added line #L299 was not covered by tests
signature_len: u64,
signature_ptr: u64,
message_len: u64,
Expand All @@ -315,29 +316,29 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn value_return(value_len: u64, value_ptr: u64) {
extern "C-unwind" fn value_return(value_len: u64, value_ptr: u64) {

Check warning on line 319 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L319

Added line #L319 was not covered by tests
with_mock_interface(|b| b.value_return(value_len, value_ptr))
}
#[no_mangle]
extern "C" fn panic() -> ! {
extern "C-unwind" fn panic() -> ! {

Check warning on line 323 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L323

Added line #L323 was not covered by tests
with_mock_interface(|b| b.panic());
unreachable!()
}
#[no_mangle]
extern "C" fn panic_utf8(len: u64, ptr: u64) -> ! {
extern "C-unwind" fn panic_utf8(len: u64, ptr: u64) -> ! {

Check warning on line 328 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L328

Added line #L328 was not covered by tests
with_mock_interface(|b| b.panic_utf8(len, ptr));
unreachable!()
}
#[no_mangle]
extern "C" fn log_utf8(len: u64, ptr: u64) {
extern "C-unwind" fn log_utf8(len: u64, ptr: u64) {
with_mock_interface(|b| b.log_utf8(len, ptr))
}
#[no_mangle]
extern "C" fn log_utf16(len: u64, ptr: u64) {
extern "C-unwind" fn log_utf16(len: u64, ptr: u64) {

Check warning on line 337 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L337

Added line #L337 was not covered by tests
with_mock_interface(|b| b.log_utf16(len, ptr))
}
#[no_mangle]
extern "C" fn promise_create(
extern "C-unwind" fn promise_create(

Check warning on line 341 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L341

Added line #L341 was not covered by tests
account_id_len: u64,
account_id_ptr: u64,
function_name_len: u64,
Expand All @@ -361,7 +362,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_then(
extern "C-unwind" fn promise_then(

Check warning on line 365 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L365

Added line #L365 was not covered by tests
promise_index: u64,
account_id_len: u64,
account_id_ptr: u64,
Expand All @@ -387,27 +388,27 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_and(promise_idx_ptr: u64, promise_idx_count: u64) -> u64 {
extern "C-unwind" fn promise_and(promise_idx_ptr: u64, promise_idx_count: u64) -> u64 {

Check warning on line 391 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L391

Added line #L391 was not covered by tests
with_mock_interface(|b| b.promise_and(promise_idx_ptr, promise_idx_count))
}
#[no_mangle]
extern "C" fn promise_batch_create(account_id_len: u64, account_id_ptr: u64) -> u64 {
extern "C-unwind" fn promise_batch_create(account_id_len: u64, account_id_ptr: u64) -> u64 {
with_mock_interface(|b| b.promise_batch_create(account_id_len, account_id_ptr))
}
#[no_mangle]
extern "C" fn promise_batch_then(
extern "C-unwind" fn promise_batch_then(

Check warning on line 399 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L399

Added line #L399 was not covered by tests
promise_index: u64,
account_id_len: u64,
account_id_ptr: u64,
) -> u64 {
with_mock_interface(|b| b.promise_batch_then(promise_index, account_id_len, account_id_ptr))
}
#[no_mangle]
extern "C" fn promise_batch_action_create_account(promise_index: u64) {
extern "C-unwind" fn promise_batch_action_create_account(promise_index: u64) {
with_mock_interface(|b| b.promise_batch_action_create_account(promise_index))
}
#[no_mangle]
extern "C" fn promise_batch_action_deploy_contract(
extern "C-unwind" fn promise_batch_action_deploy_contract(

Check warning on line 411 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L411

Added line #L411 was not covered by tests
promise_index: u64,
code_len: u64,
code_ptr: u64,
Expand All @@ -417,7 +418,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_batch_action_function_call(
extern "C-unwind" fn promise_batch_action_function_call(

Check warning on line 421 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L421

Added line #L421 was not covered by tests
promise_index: u64,
function_name_len: u64,
function_name_ptr: u64,
Expand All @@ -440,7 +441,7 @@ mod mock_chain {
}

#[no_mangle]
extern "C" fn promise_batch_action_function_call_weight(
extern "C-unwind" fn promise_batch_action_function_call_weight(

Check warning on line 444 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L444

Added line #L444 was not covered by tests
promise_index: u64,
function_name_len: u64,
function_name_ptr: u64,
Expand All @@ -465,11 +466,11 @@ mod mock_chain {
}

#[no_mangle]
extern "C" fn promise_batch_action_transfer(promise_index: u64, amount_ptr: u64) {
extern "C-unwind" fn promise_batch_action_transfer(promise_index: u64, amount_ptr: u64) {

Check warning on line 469 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L469

Added line #L469 was not covered by tests
with_mock_interface(|b| b.promise_batch_action_transfer(promise_index, amount_ptr))
}
#[no_mangle]
extern "C" fn promise_batch_action_stake(
extern "C-unwind" fn promise_batch_action_stake(
promise_index: u64,
amount_ptr: u64,
public_key_len: u64,
Expand All @@ -480,7 +481,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_batch_action_add_key_with_full_access(
extern "C-unwind" fn promise_batch_action_add_key_with_full_access(

Check warning on line 484 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L484

Added line #L484 was not covered by tests
promise_index: u64,
public_key_len: u64,
public_key_ptr: u64,
Expand All @@ -496,7 +497,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_batch_action_add_key_with_function_call(
extern "C-unwind" fn promise_batch_action_add_key_with_function_call(

Check warning on line 500 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L500

Added line #L500 was not covered by tests
promise_index: u64,
public_key_len: u64,
public_key_ptr: u64,
Expand All @@ -522,7 +523,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_batch_action_delete_key(
extern "C-unwind" fn promise_batch_action_delete_key(
promise_index: u64,
public_key_len: u64,
public_key_ptr: u64,
Expand All @@ -532,7 +533,7 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_batch_action_delete_account(
extern "C-unwind" fn promise_batch_action_delete_account(

Check warning on line 536 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L536

Added line #L536 was not covered by tests
promise_index: u64,
beneficiary_id_len: u64,
beneficiary_id_ptr: u64,
Expand All @@ -546,19 +547,19 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn promise_results_count() -> u64 {
extern "C-unwind" fn promise_results_count() -> u64 {

Check warning on line 550 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L550

Added line #L550 was not covered by tests
with_mock_interface(|b| b.promise_results_count())
}
#[no_mangle]
extern "C" fn promise_result(result_idx: u64, register_id: u64) -> u64 {
extern "C-unwind" fn promise_result(result_idx: u64, register_id: u64) -> u64 {

Check warning on line 554 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L554

Added line #L554 was not covered by tests
with_mock_interface(|b| b.promise_result(result_idx, register_id))
}
#[no_mangle]
extern "C" fn promise_return(promise_id: u64) {
extern "C-unwind" fn promise_return(promise_id: u64) {

Check warning on line 558 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L558

Added line #L558 was not covered by tests
with_mock_interface(|b| b.promise_return(promise_id))
}
#[no_mangle]
extern "C" fn storage_write(
extern "C-unwind" fn storage_write(
key_len: u64,
key_ptr: u64,
value_len: u64,
Expand All @@ -570,35 +571,35 @@ mod mock_chain {
})
}
#[no_mangle]
extern "C" fn storage_read(key_len: u64, key_ptr: u64, register_id: u64) -> u64 {
extern "C-unwind" fn storage_read(key_len: u64, key_ptr: u64, register_id: u64) -> u64 {
with_mock_interface(|b| b.storage_read(key_len, key_ptr, register_id))
}
#[no_mangle]
extern "C" fn storage_remove(key_len: u64, key_ptr: u64, register_id: u64) -> u64 {
extern "C-unwind" fn storage_remove(key_len: u64, key_ptr: u64, register_id: u64) -> u64 {

Check warning on line 578 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L578

Added line #L578 was not covered by tests
with_mock_interface(|b| b.storage_remove(key_len, key_ptr, register_id))
}
#[no_mangle]
extern "C" fn storage_has_key(key_len: u64, key_ptr: u64) -> u64 {
extern "C-unwind" fn storage_has_key(key_len: u64, key_ptr: u64) -> u64 {
with_mock_interface(|b| b.storage_has_key(key_len, key_ptr))
}
#[no_mangle]
extern "C" fn validator_stake(account_id_len: u64, account_id_ptr: u64, stake_ptr: u64) {
extern "C-unwind" fn validator_stake(account_id_len: u64, account_id_ptr: u64, stake_ptr: u64) {

Check warning on line 586 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L586

Added line #L586 was not covered by tests
with_mock_interface(|b| b.validator_stake(account_id_len, account_id_ptr, stake_ptr))
}
#[no_mangle]
extern "C" fn validator_total_stake(stake_ptr: u64) {
extern "C-unwind" fn validator_total_stake(stake_ptr: u64) {

Check warning on line 590 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L590

Added line #L590 was not covered by tests
with_mock_interface(|b| b.validator_total_stake(stake_ptr))
}
#[no_mangle]
extern "C" fn alt_bn128_g1_multiexp(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn alt_bn128_g1_multiexp(value_len: u64, value_ptr: u64, register_id: u64) {
with_mock_interface(|b| b.alt_bn128_g1_multiexp(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn alt_bn128_g1_sum(value_len: u64, value_ptr: u64, register_id: u64) {
extern "C-unwind" fn alt_bn128_g1_sum(value_len: u64, value_ptr: u64, register_id: u64) {

Check warning on line 598 in near-sdk/src/environment/mock/mocked_blockchain.rs

View check run for this annotation

Codecov / codecov/patch

near-sdk/src/environment/mock/mocked_blockchain.rs#L598

Added line #L598 was not covered by tests
with_mock_interface(|b| b.alt_bn128_g1_sum(value_len, value_ptr, register_id))
}
#[no_mangle]
extern "C" fn alt_bn128_pairing_check(value_len: u64, value_ptr: u64) -> u64 {
extern "C-unwind" fn alt_bn128_pairing_check(value_len: u64, value_ptr: u64) -> u64 {
with_mock_interface(|b| b.alt_bn128_pairing_check(value_len, value_ptr))
}
}
Expand Down
2 changes: 1 addition & 1 deletion near-sdk/tests/store_performance_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async fn random_access() -> anyhow::Result<()> {
Collection::IterableSet => (col, 1750),
Collection::IterableMap => (col, 745),
Collection::UnorderedSet => (col, 41),
Collection::UnorderedMap => (col, 36),
Collection::UnorderedMap => (col, 42),
Collection::Vector => (col, 1700),
_ => (col, 0),
}) {
Expand Down
2 changes: 1 addition & 1 deletion near-sdk/tests/test-contracts/store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
near-sdk = { path = "../../../../near-sdk", features = ["default", "unstable"]}
near-sdk = { path = "../../../../near-sdk", features = ["default", "unstable"] }

[workspace]

0 comments on commit fec00b0

Please sign in to comment.