Rename Signer to Wallet, rename GAS_ESTIMATE to GAS_LIMIT

This commit is contained in:
Amir Bandeali
2018-05-29 11:22:57 -07:00
parent d625b65a09
commit 8f2fd9b603
8 changed files with 10 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ export const web3Factory = {
if (!hasAddresses) {
provider.addProvider(new EmptyWalletSubprovider());
}
provider.addProvider(new FakeGasEstimateSubprovider(constants.GAS_ESTIMATE));
provider.addProvider(new FakeGasEstimateSubprovider(constants.GAS_LIMIT));
const logger = {
log: (arg: any) => {
fs.appendFileSync('ganache.log', `${arg}\n`);
@@ -41,7 +41,7 @@ export const web3Factory = {
}
provider.addProvider(
new GanacheSubprovider({
gasLimit: constants.GAS_ESTIMATE,
gasLimit: constants.GAS_LIMIT,
logger,
verbose: env.parseBoolean(EnvVars.VerboseGanache),
port: 8545,