@0x/contracts-test-utils
: web3Wrapper
is created with shouldAllowUnlimitedContractSize
if UNLIMITED_CONTRACT_SIZE
environment variable is set.
This commit is contained in:
parent
0c53e2fe46
commit
6b8bc55c74
@ -61,6 +61,10 @@
|
|||||||
{
|
{
|
||||||
"note": "Update `testWithReferenceFuncAsync` to work with `RevertErrors`",
|
"note": "Update `testWithReferenceFuncAsync` to work with `RevertErrors`",
|
||||||
"pr": 2031
|
"pr": 2031
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "`web3Wrapper` is created with `shouldAllowUnlimitedContractSize` if `UNLIMITED_CONTRACT_SIZE` environment variable is set.",
|
||||||
|
"pr": 2075
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -44,6 +44,7 @@ const gethConfigs = {
|
|||||||
};
|
};
|
||||||
const ganacheConfigs = {
|
const ganacheConfigs = {
|
||||||
shouldUseInProcessGanache: true,
|
shouldUseInProcessGanache: true,
|
||||||
|
shouldAllowUnlimitedContractSize: env.parseBoolean(EnvVars.UnlimitedContractSize),
|
||||||
};
|
};
|
||||||
const providerConfigs = testProvider === ProviderType.Ganache ? ganacheConfigs : gethConfigs;
|
const providerConfigs = testProvider === ProviderType.Ganache ? ganacheConfigs : gethConfigs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user