Open mds1 opened 4 years ago
One possibility is we're genuinely over the 24 KB limit, but this would be surprising to me. Another possibility is we're hitting some kind of pathological compiler case that's producing bytecode way bigger than it needs to be. Maybe running with the optimizer would help. Will investigate.
In
test-environment.config.js
we currently setallowUnlimitedContractSize: true
. Without this flag, deployment ofEndaomentFactory
fails with an out of gas error.Investigate why and make the required changes so this is not needed.
Relevant portions of the docs from the ganache README are below: