Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Deploying large contracts fails  #324

Description

@elenadimitrova

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.

edit: this could be a ganache-related bug so also logged it there ConsenSys-archive/ganache#734.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions