Skip to content

Commit

Permalink
agent: add missing fields when parsing network spec from cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Aug 22, 2023
1 parent e7eabb7 commit b4c1ee1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/indexer-agent/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,14 @@ export async function createNetworkSpecification(
voucherRedemptionMaxBatchSize: argv.voucherRedemptionMaxBatchSize,
allocationManagementMode: argv.allocationManagement,
autoAllocationMinBatchSize: argv.autoAllocationMinBatchSize,
allocateOnNetworkSubgraph: argv.allocateOnNetworkSubgraph,
register: argv.register,
}

const transactionMonitoring = {
gasIncreaseTimeout: argv.gasIncreaseTimeout,
gasIncreaseFactor: argv.gasIncreaseFactor,
gasPriceMax: argv.gasPriceMax,
baseFeePerGasMax: argv.baseFeeGasMax,
maxTransactionAttempts: argv.maxTransactionAttempts,
}
Expand All @@ -348,6 +351,7 @@ export async function createNetworkSpecification(

const networkProvider = {
url: argv.networkProvider,
pollingInterval: argv.ethereumPollingInterval,
}

// Since we can't infer the network identifier, we must ask the configured
Expand Down

0 comments on commit b4c1ee1

Please sign in to comment.