We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07bfbbb commit 64b9652Copy full SHA for 64b9652
tests/src/tests/defuse/storage/mod.rs
@@ -153,9 +153,12 @@ async fn storage_deposit_success(
153
154
assert_eq!(data.get("account_id").unwrap(), &env.user2.id().to_string());
155
assert_eq!(data.get("contract_id").unwrap(), &env.ft1.to_string());
156
+ // This result does not make sense with respect to other contracts, because
157
+ // other FT contracts only accept 0.00125 NEAR for storage deposits.
158
+ // But this is just for this contract's simulation.
159
assert_eq!(
160
data.get("amount").unwrap(),
- &MIN_FT_STORAGE_DEPOSIT_VALUE.as_yoctonear().to_string()
161
+ &amount_to_deposit.as_yoctonear().to_string()
162
);
163
}
164
0 commit comments