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

difftreelog

test(eth-nesting) remove redundant Substrate call

Fahrrader2022-06-14parent: #7f793b9.patch.diff
in: master

1 file changed

modifiedtests/src/eth/nesting/nest.test.tsdiffbeforeafterboth
18 const {collectionIdAddress: collectionAddress, collectionId} = await getCollectionAddressFromResult(api, result);18 const {collectionIdAddress: collectionAddress, collectionId} = await getCollectionAddressFromResult(api, result);
1919
20 const contract = new web3.eth.Contract(nonFungibleAbi as any, collectionAddress, {from: owner, ...GAS_ARGS});20 const contract = new web3.eth.Contract(nonFungibleAbi as any, collectionAddress, {from: owner, ...GAS_ARGS});
21 await contract.methods.addCollectionAdmin(owner).send();
22 await contract.methods.setCollectionNesting(true).send({from: owner});21 await contract.methods.setCollectionNesting(true).send({from: owner});
2322
24 return {collectionId, collectionAddress, contract};23 return {collectionId, collectionAddress, contract};