git.delta.rocks / unique-network / refs/commits / 918a89d5ced7

difftreelog

test fix out of gas

Yaroslav Bolyukin2023-03-31parent: #921f6a5.patch.diff
in: master

1 file changed

modifiedtests/src/eth/fractionalizer/fractionalizer.test.tsdiffbeforeafterboth
197 });197 });
198198
199 itEth('Test fractionalizer NFT <-> RFT mapping ', async ({helper}) => {199 itEth('Test fractionalizer NFT <-> RFT mapping ', async ({helper}) => {
200 const owner = await helper.eth.createAccountWithBalance(donor, 20n);200 const owner = await helper.eth.createAccountWithBalance(donor, 200n);
201201
202 const {contract: fractionalizer, rftCollectionAddress} = await initContract(helper, owner);202 const {contract: fractionalizer, rftCollectionAddress} = await initContract(helper, owner);
203 const {rftTokenAddress, nftCollectionAddress, nftTokenId} = await mintRFTToken(helper, owner, fractionalizer, 100n);203 const {rftTokenAddress, nftCollectionAddress, nftTokenId} = await mintRFTToken(helper, owner, fractionalizer, 100n);
386 });386 });
387387
388 itEth('call rft2nft without owning all RFT pieces', async ({helper}) => {388 itEth('call rft2nft without owning all RFT pieces', async ({helper}) => {
389 const owner = await helper.eth.createAccountWithBalance(donor, 20n);389 const owner = await helper.eth.createAccountWithBalance(donor, 200n);
390 const receiver = await helper.eth.createAccountWithBalance(donor, 10n);390 const receiver = await helper.eth.createAccountWithBalance(donor, 10n);
391391
392 const {contract: fractionalizer, rftCollectionAddress} = await initContract(helper, owner);392 const {contract: fractionalizer, rftCollectionAddress} = await initContract(helper, owner);