difftreelog
test missing send() for flip() tx
in: master
1 file changed
tests/src/eth/base.test.tsdiffbeforeafterboth8 const deployer = await createEthAccountWithBalance(api, web3);8 const deployer = await createEthAccountWithBalance(api, web3);9 const flipper = await deployFlipper(web3 as any, deployer);9 const flipper = await deployFlipper(web3 as any, deployer);101011 const cost = await recordEthFee(api, deployer, () => flipper.methods.flip());11 const cost = await recordEthFee(api, deployer, () => flipper.methods.flip().send({from: deployer}));12 expect(cost < BigInt(0.2 * Number(UNIQUE))).to.be.true;12 expect(cost < BigInt(0.2 * Number(UNIQUE))).to.be.true;13 });13 });1414