Skip to content

Commit

Permalink
addressed test failures due to base asset id
Browse files Browse the repository at this point in the history
  • Loading branch information
zees-dev committed Jan 24, 2025
1 parent 7f7ec7b commit 8307c4b
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 54 deletions.
4 changes: 3 additions & 1 deletion test/src/sdk-harness/test_projects/asset_id/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ async fn can_get_base_asset_id() {
.await
.unwrap()
.value;
let consensus_params = wallet.provider().unwrap().consensus_parameters().await.unwrap();
let base_asset_id = consensus_params.base_asset_id();

assert_eq!(asset_id, *wallet.provider().unwrap().base_asset_id());
assert_eq!(asset_id, *base_asset_id);
}

async fn get_instance(wallet: WalletUnlocked) -> (TestAssetId<WalletUnlocked>, ContractId) {
Expand Down
Loading

0 comments on commit 8307c4b

Please sign in to comment.