@0x/contracts-test-utils: web3Wrapper is created with shouldAllowUnlimitedContractSize if UNLIMITED_CONTRACT_SIZE environment variable is set.

This commit is contained in:
Lawrence Forman 2019-08-19 15:17:07 -04:00
parent 0c53e2fe46
commit 6b8bc55c74
2 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,10 @@
{
"note": "Update `testWithReferenceFuncAsync` to work with `RevertErrors`",
"pr": 2031
},
{
"note": "`web3Wrapper` is created with `shouldAllowUnlimitedContractSize` if `UNLIMITED_CONTRACT_SIZE` environment variable is set.",
"pr": 2075
}
]
},

View File

@ -44,6 +44,7 @@ const gethConfigs = {
};
const ganacheConfigs = {
shouldUseInProcessGanache: true,
shouldAllowUnlimitedContractSize: env.parseBoolean(EnvVars.UnlimitedContractSize),
};
const providerConfigs = testProvider === ProviderType.Ganache ? ganacheConfigs : gethConfigs;