You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, truffle tests fail in etheno, but work in ganache. To reproduce:
Get the latest balancer-core revision and install all the dependencies (yarn)
Install ganache and ganache-cli
Start ganache in another terminal: ganache --deterministic --gasLimit 10000000
Run yarn test. All the tests will pass. for instance:
Contract: BFactory
Factory
✓ BFactory is bronze release
✓ isBPool on non pool returns false
✓ isBPool on pool returns true
✓ fails nonAdmin calls collect (42ms)
✓ admin collects fees (477ms)
✓ nonadmin cant set blabs address
✓ admin changes blabs address (51ms)
Kill ganache and start etheno in another console: etheno --ganache --ganache-args "--deterministic --gasLimit 10000000" -x out.json
Run yarn test. Some of the tests will fail:
Contract: BFactory
Factory
✓ BFactory is bronze release
✓ isBPool on non pool returns false
✓ isBPool on pool returns true
1) fails nonAdmin calls collect
> No events were emitted
✓ admin collects fees (339ms)
2) nonadmin cant set blabs address
> No events were emitted
✓ admin changes blabs address (56ms)
The text was updated successfully, but these errors were encountered:
In some cases, truffle tests fail in etheno, but work in ganache. To reproduce:
yarn
)ganache --deterministic --gasLimit 10000000
yarn test
. All the tests will pass. for instance:etheno --ganache --ganache-args "--deterministic --gasLimit 10000000" -x out.json
yarn test
. Some of the tests will fail:The text was updated successfully, but these errors were encountered: