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
{{ message }}
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.
When testing with ganache we use allowUnlimitedContractSize switch to allow contracts bigger than 234576 bytes to be deployed. However an out of gas error is thrown even though the contract was created by ganache, e.g:
Transaction: 0x702c95bfc4324122876c795d6175a62e1a8a75c04d37f3dc30c5a479dda54544
Contract created: 0xe83ef66e898b65e1e202f3f554897943a0383f29
Gas usage: 110000000
Block Number: 430
Block Time: Tue Apr 28 2020 16:44:45 GMT+0300 (Eastern European Summer Time)
Runtime Error: out of gas
Additionally, for test coverage it is worth to always run the underlying ganache instance with the allowUnlimitedContractSize switch to cater for the bigger instrumented contracts deployment.
When testing with
ganache
we useallowUnlimitedContractSize
switch to allow contracts bigger than 234576 bytes to be deployed. However anout of gas
error is thrown even though the contract was created byganache
, e.g:Additionally, for test coverage it is worth to always run the underlying ganache instance with the
allowUnlimitedContractSize
switch to cater for the bigger instrumented contracts deployment.edit: this could be a ganache-related bug so also logged it there trufflesuite/ganache#734.
The text was updated successfully, but these errors were encountered: