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

difftreelog

CORE-346 Skip some evm tests

Trubnikov Sergey2022-05-27parent: #7d68ab6.patch.diff
in: master

3 files changed

modifiedtests/src/eth/contractSponsoring.test.tsdiffbeforeafterboth
226 expect(await helpers.methods.getSponsoringRateLimit(flipper.options.address).call()).to.be.equals('7200');226 expect(await helpers.methods.getSponsoringRateLimit(flipper.options.address).call()).to.be.equals('7200');
227 });227 });
228228
229 //TODO: CORE-302 add eth methods
229 itWeb3('Sponsoring evm address from substrate collection', async ({api, web3}) => {230 itWeb3.skip('Sponsoring evm address from substrate collection', async ({api, web3}) => {
230 const owner = await createEthAccountWithBalance(api, web3);231 const owner = await createEthAccountWithBalance(api, web3);
231 const collectionHelper = evmCollectionHelper(web3, owner);232 const collectionHelper = evmCollectionHelper(web3, owner);
232 let result = await collectionHelper.methods.create721Collection('Sponsor collection', '1', '1').send();233 let result = await collectionHelper.methods.create721Collection('Sponsor collection', '1', '1').send();
304 }305 }
305 });306 });
306307
307308 //TODO: CORE-302 add eth methods
308 itWeb3('Check that transaction via EVM spend money from substrate address', async ({api, web3}) => {309 itWeb3.skip('Check that transaction via EVM spend money from substrate address', async ({api, web3}) => {
309 const owner = privateKey('//Alice');310 const owner = privateKey('//Alice');
310 const user = privateKey(`//User/${Date.now()}`);311 const user = privateKey(`//User/${Date.now()}`);
311 const userEth = subToEth(user.address);312 const userEth = subToEth(user.address);
modifiedtests/src/eth/nonFungible.test.tsdiffbeforeafterboth
--- a/tests/src/eth/nonFungible.test.ts
+++ b/tests/src/eth/nonFungible.test.ts
@@ -112,7 +112,9 @@
     // const tokenUri = await contract.methods.tokenURI(nextTokenId).call();
     // expect(tokenUri).to.be.equal(`https://offchain-service.local/token-info/${nextTokenId}`);
   });
-  itWeb3('Can perform mintBulk()', async ({web3, api}) => {
+
+  //TODO: CORE-302 add eth methods
+  itWeb3.skip('Can perform mintBulk()', async ({web3, api}) => {
     const collection = await createCollectionExpectSuccess({
       mode: {type: 'NFT'},
     });
modifiedtests/src/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth
--- a/tests/src/eth/proxy/nonFungibleProxy.test.ts
+++ b/tests/src/eth/proxy/nonFungibleProxy.test.ts
@@ -88,7 +88,8 @@
 });
 
 describe('NFT (Via EVM proxy): Plain calls', () => {
-  itWeb3('Can perform mint()', async ({web3, api}) => {
+  //TODO: CORE-302 add eth methods
+  itWeb3.skip('Can perform mint()', async ({web3, api}) => {
     const collection = await createCollectionExpectSuccess({
       mode: {type: 'NFT'},
     });
@@ -128,7 +129,8 @@
     }
   });
   
-  itWeb3('Can perform mintBulk()', async ({web3, api}) => {
+  //TODO: CORE-302 add eth methods
+  itWeb3.skip('Can perform mintBulk()', async ({web3, api}) => {
     const collection = await createCollectionExpectSuccess({
       mode: {type: 'NFT'},
     });