git.delta.rocks / unique-network / refs/commits / dd7822d12377

difftreelog

chore fix addAdmin call

Grigoriy Simonov2022-12-23parent: #eebfd67.patch.diff
in: master

1 file changed

modifiedtests/src/eth/collectionSponsoring.test.tsdiffbeforeafterboth
357 const contract = helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true);357 const contract = helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true);
358358
359 await collection.addToAllowList(alice, {Ethereum: minter});359 await collection.addToAllowList(alice, {Ethereum: minter});
360 helper.collection.addAdmin(alice, collection.collectionId, {Ethereum: owner});360 await collection.addAdmin(alice, {Ethereum: owner});
361 const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner);361 const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner);
362 await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/')362 await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/')
363 .send();363 .send();