leap-contracts
leap-contracts copied to clipboard
yarn test does not pass cause out of gas by FastExitHandler contract
Scope
-
yarn test
did not pass becauseFastExitHandler
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