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
113 // expect(tokenUri).to.be.equal(`https://offchain-service.local/token-info/${nextTokenId}`);113 // expect(tokenUri).to.be.equal(`https://offchain-service.local/token-info/${nextTokenId}`);
114 });114 });
115
116 //TODO: CORE-302 add eth methods
115 itWeb3('Can perform mintBulk()', async ({web3, api}) => {117 itWeb3.skip('Can perform mintBulk()', async ({web3, api}) => {
116 const collection = await createCollectionExpectSuccess({118 const collection = await createCollectionExpectSuccess({
117 mode: {type: 'NFT'},119 mode: {type: 'NFT'},
118 });120 });
modifiedtests/src/eth/proxy/nonFungibleProxy.test.tsdiffbeforeafterboth
88});88});
8989
90describe('NFT (Via EVM proxy): Plain calls', () => {90describe('NFT (Via EVM proxy): Plain calls', () => {
91 //TODO: CORE-302 add eth methods
91 itWeb3('Can perform mint()', async ({web3, api}) => {92 itWeb3.skip('Can perform mint()', async ({web3, api}) => {
92 const collection = await createCollectionExpectSuccess({93 const collection = await createCollectionExpectSuccess({
93 mode: {type: 'NFT'},94 mode: {type: 'NFT'},
94 });95 });
128 }129 }
129 });130 });
130 131
132 //TODO: CORE-302 add eth methods
131 itWeb3('Can perform mintBulk()', async ({web3, api}) => {133 itWeb3.skip('Can perform mintBulk()', async ({web3, api}) => {
132 const collection = await createCollectionExpectSuccess({134 const collection = await createCollectionExpectSuccess({
133 mode: {type: 'NFT'},135 mode: {type: 'NFT'},
134 });136 });