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

difftreelog

fix(rft) replace rft by nft in non-existing fn test

Daniel Shiposha2022-08-16parent: #5b68c20.patch.diff
in: master

1 file changed

modifiedtests/src/evmCoder.test.tsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17import Web3 from 'web3';17import Web3 from 'web3';
18import {createEthAccountWithBalance, createRefungibleCollection, GAS_ARGS, itWeb3} from './eth/util/helpers';18import {createEthAccountWithBalance, createNonfungibleCollection, GAS_ARGS, itWeb3} from './eth/util/helpers';
19import * as solc from 'solc';19import * as solc from 'solc';
2020
21import chai from 'chai';21import chai from 'chai';
92describe('Evm Coder tests', () => {92describe('Evm Coder tests', () => {
93 itWeb3('Call non-existing function', async ({api, web3, privateKeyWrapper}) => {93 itWeb3('Call non-existing function', async ({api, web3, privateKeyWrapper}) => {
94 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);94 const owner = await createEthAccountWithBalance(api, web3, privateKeyWrapper);
95 const {collectionIdAddress} = await createRefungibleCollection(api, web3, owner);95 const {collectionIdAddress} = await createNonfungibleCollection(api, web3, owner);
96 const contract = await deployTestContract(web3, owner, collectionIdAddress, '0x1bfed5D614b886b9Ab2eA4CBAc22A96B7EC29c9c');96 const contract = await deployTestContract(web3, owner, collectionIdAddress, '0x1bfed5D614b886b9Ab2eA4CBAc22A96B7EC29c9c');
97 const testContract = await deployTestContract(web3, owner, collectionIdAddress, contract.options.address);97 const testContract = await deployTestContract(web3, owner, collectionIdAddress, contract.options.address);
98 {98 {