git.delta.rocks / unique-network / refs/commits / 81968773f675

difftreelog

fix add `from` to `confirmSponsorship`

Grigoriy Simonov2023-06-26parent: #e041df2.patch.diff
in: master

1 file changed

modifiedtests/src/eth/marketplace-v2/marketplace.test.tsdiffbeforeafterboth
115 await helper.eth.transferBalanceFromSubstrate(donor, market.options.address, 10n);115 await helper.eth.transferBalanceFromSubstrate(donor, market.options.address, 10n);
116116
117 // TODO: this should work too, instead of selfSponsoring!117 // TODO: this should work too, instead of selfSponsoring!
118 // await contractHelpers.methods.setSponsor(market.options.address, marketOwner).send({from: marketOwner})118 await contractHelpers.methods.setSponsor(market.options.address, marketOwner).send({from: marketOwner});
119 // await contractHelpers.methods.confirmSponsorship(market.options.address);119 await contractHelpers.methods.confirmSponsorship(market.options.address).send({from: marketOwner});
120 120
121 await contractHelpers.methods.setSponsoringMode(market.options.address, SponsoringMode.Generous).send({from: marketOwner});121 await contractHelpers.methods.setSponsoringMode(market.options.address, SponsoringMode.Generous).send({from: marketOwner});
122 await contractHelpers.methods.setSponsoringRateLimit(market.options.address, 0).send({from: marketOwner});122 await contractHelpers.methods.setSponsoringRateLimit(market.options.address, 0).send({from: marketOwner});