Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/auction creation fee #20

Merged
merged 14 commits into from
Dec 5, 2024
Prev Previous commit
Next Next commit
fixes a broken and incorrect test
  • Loading branch information
gangov committed Sep 12, 2024
commit 034a492093f9a1b0fbd44ae2638190e1cd630ae7
5 changes: 3 additions & 2 deletions contracts/auctions/src/test/bids.rs
Original file line number Diff line number Diff line change
@@ -10,7 +10,6 @@ use crate::{
test::setup::{
deploy_token_contract, generate_marketplace_and_collection_client, DAY, FOUR_HOURS, WEEKLY,
},
token,
};

use super::setup::create_and_initialize_collection;
@@ -109,7 +108,9 @@ fn fail_to_place_bid_when_auction_inactive() {
let seller = Address::generate(&env);
let bidder_a = Address::generate(&env);

let token_client = token::Client::new(&env, &Address::generate(&env));
let token_client = deploy_token_contract(&env, &Address::generate(&env));
token_client.mint(&seller, &10);

let (mp_client, nft_collection_client) = generate_marketplace_and_collection_client(
&env,
&seller,