leap-contracts icon indicating copy to clipboard operation
leap-contracts copied to clipboard

yarn test does not pass cause out of gas by FastExitHandler contract

Open PumpkingWok opened this issue 5 years ago • 0 comments

Scope

  • yarn test did not pass because FastExitHandler runs out of gas.

Description

Hi there, i have encountered this issue while i was working to another issue, #260.

yarn test did not complete properly because another contract out of my scope had gas issue (FastExitHandler). @johannbarbie told me to edit the truffle-config.js, changing the runs parameter in solc settings, from 200 to 2, after than the tests runned without errors. I added this edit in the PR (#270 ) that i opened for my issue.

Just to know, for avoiding to edit the truffle config i had to move unpackSignedData function from FastExitHandler to a new contract that i had created and then the tests worked.

Thanks

PumpkingWok avatar Feb 03 '20 15:02 PumpkingWok