git.delta.rocks / unique-network / refs/commits / 62ad43e933f2

difftreelog

test(refungible-pallet) add tests for ERC-721 EVM API

Grigoriy Simonov2022-07-27parent: #749341e.patch.diff
in: master

3 files changed

addedtests/src/eth/reFungible.test.tsdiffbeforeafterboth

no changes

modifiedtests/src/eth/reFungibleToken.test.tsdiffbeforeafterboth
74});74});
7575
76// FIXME: Need erc721 for ReFubgible.76// FIXME: Need erc721 for ReFubgible.
77describe.skip('Check ERC721 token URI for ReFungible', () => {77describe('Check ERC721 token URI for ReFungible', () => {
78 itWeb3('Empty tokenURI', async ({web3, api, privateKeyWrapper}) => {78 itWeb3('Empty tokenURI', async ({web3, api, privateKeyWrapper}) => {
79 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);79 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
80 const helper = evmCollectionHelpers(web3, owner);80 const helper = evmCollectionHelpers(web3, owner);
modifiedtests/src/eth/util/helpers.tsdiffbeforeafterboth
31import collectionHelpersAbi from '../collectionHelpersAbi.json';31import collectionHelpersAbi from '../collectionHelpersAbi.json';
32import fungibleAbi from '../fungibleAbi.json';32import fungibleAbi from '../fungibleAbi.json';
33import nonFungibleAbi from '../nonFungibleAbi.json';33import nonFungibleAbi from '../nonFungibleAbi.json';
34import refungibleAbi from '../refungibleAbi.json';34import refungibleAbi from '../reFungibleAbi.json';
35import contractHelpersAbi from './contractHelpersAbi.json';35import contractHelpersAbi from './contractHelpersAbi.json';
3636
37export const GAS_ARGS = {gas: 2500000};37export const GAS_ARGS = {gas: 2500000};