Skip to content

Commit

Permalink
make progress
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Mar 18, 2024
1 parent 145fce5 commit 57abcb2
Show file tree
Hide file tree
Showing 14 changed files with 737 additions and 672 deletions.
9 changes: 5 additions & 4 deletions packages/indexer-agent/src/__tests__/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import {
parseGRT,
} from '@graphprotocol/common-ts'
import {
createIndexerManagementClient,
defineIndexerManagementModels,
IndexerManagementClient,
IndexerManagementModels,
GraphNode,
Operator,
Expand All @@ -19,6 +17,7 @@ import {
QueryFeeModels,
defineQueryFeeModels,
MultiNetworks,
createIndexerManagementYogaClient,
} from '@graphprotocol/indexer-common'
import { BigNumber } from 'ethers'
import { Sequelize } from 'sequelize'
Expand Down Expand Up @@ -111,7 +110,9 @@ let sequelize: Sequelize
let models: IndexerManagementModels
let queryFeeModels: QueryFeeModels
let logger: Logger
let indexerManagementClient: IndexerManagementClient
let indexerManagementClient: Awaited<
ReturnType<typeof createIndexerManagementYogaClient>
>
let graphNode: GraphNode
let operator: Operator
let metrics: Metrics
Expand Down Expand Up @@ -196,7 +197,7 @@ const setup = async () => {
(n: Network) => n.specification.networkIdentifier,
)

indexerManagementClient = await createIndexerManagementClient({
indexerManagementClient = await createIndexerManagementYogaClient({
models,
graphNode,
indexNodeIDs,
Expand Down
1 change: 1 addition & 0 deletions packages/indexer-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dependencies": {
"@graphprotocol/common-ts": "2.0.9",
"@graphprotocol/cost-model": "0.1.18",
"@graphql-tools/executor-http": "^1.0.9",
"@thi.ng/heaps": "1.2.38",
"@types/lodash.clonedeep": "^4.5.7",
"@types/lodash.intersection": "^4.4.7",
Expand Down
Loading

0 comments on commit 57abcb2

Please sign in to comment.