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
requires us to make calls into Ethereum to determine the last finalized block on the chain. This is not supported in the version of ganache we currently use in our system tests. We need to upgrade to the latest version.
BUT v.7.7.0 has a bug in it which causes it to crash out during out system test runs:
eth_estimateGas
TypeError: Cannot read properties of undefined (reading 'gasEstimate')
at /app/node_modules/ganache/dist/node/1.js:2:43466
at /app/node_modules/ganache/dist/node/1.js:2:148181
at exactimate (/app/node_modules/ganache/dist/node/1.js:2:147250)
BUT then that version causes the above segfault on macs!
So the conclusion is that given the way we currently build out ganache-docker image there is no version that will work with the system test that does not seg-fault on arm64.
The solution in trufflesuite/ganache#4300 (comment) suggests basing our image off their published image. Their image with the latest ganache does work on arm64, but using it would involve reworking how we build our image with the pre-deployed smart-contracts in them.
This ticket:
vegaprotocol/vega#10954
requires us to make calls into Ethereum to determine the last finalized block on the chain. This is not supported in the version of ganache we currently use in our system tests. We need to upgrade to the latest version.
It looks like this work has been started:
#99
The text was updated successfully, but these errors were encountered: