From dd7822d12377aae3342a6cf967bf49274195c422 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Fri, 23 Dec 2022 11:25:15 +0000 Subject: [PATCH] chore: fix addAdmin call --- --- a/tests/src/eth/collectionSponsoring.test.ts +++ b/tests/src/eth/collectionSponsoring.test.ts @@ -357,7 +357,7 @@ const contract = helper.ethNativeContract.collection(collectionAddress, 'rft', minter, true); await collection.addToAllowList(alice, {Ethereum: minter}); - helper.collection.addAdmin(alice, collection.collectionId, {Ethereum: owner}); + await collection.addAdmin(alice, {Ethereum: owner}); const collectionHelpers = helper.ethNativeContract.collectionHelpers(owner); await collectionHelpers.methods.makeCollectionERC721MetadataCompatible(collectionAddress, 'base/') .send(); -- gitstuff