git.delta.rocks / unique-network / refs/commits / 0734ff6eabec

difftreelog

fix test: AllowList

Igor Kozyrev2021-11-16parent: #6e926ea.patch.diff
in: master

1 file changed

modifiedtests/src/eth/marketplace/marketplace.test.tsdiffbeforeafterboth
29 await confirmSponsorshipExpectSuccess(collectionId);29 await confirmSponsorshipExpectSuccess(collectionId);
3030
31 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(alice.address), true).send({from: matcherOwner});31 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(alice.address), true).send({from: matcherOwner});
32 await addAllowListExpectSuccess(alice, collectionId, evmToAddress(subToEth(alice.address)));32 await addToAllowListExpectSuccess(alice, collectionId, evmToAddress(subToEth(alice.address)));
3333
34 const seller = privateKey('//Bob');34 const seller = privateKey('//Bob');
35 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(seller.address), true).send({from: matcherOwner});35 await helpers.methods.toggleAllowed(matcher.options.address, subToEth(seller.address), true).send({from: matcherOwner});