Skip to content

Commit 775289e

Browse files
committed
fix: lint
1 parent 06de0a0 commit 775289e

File tree

9 files changed

+13
-14
lines changed

9 files changed

+13
-14
lines changed

packages/subgraph-service/tasks/test/seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { task } from 'hardhat/config'
22

3+
import { encodeRegistrationData, encodeStartServiceData, generateAllocationProof, generatePOI, PaymentTypes } from '@graphprotocol/toolshed'
34
import { HorizonStakingExtension } from '@graphprotocol/horizon'
45

56
import { indexers } from './fixtures/indexers'
6-
import { encodeRegistrationData, encodeStartServiceData, generateAllocationProof, generatePOI, PaymentTypes } from '@graphprotocol/toolshed'
77

88
task('test:seed', 'Seed the test environment, must be run after deployment')
99
.setAction(async (_, hre) => {

packages/subgraph-service/test/integration/after-transition-period/dispute-manager/indexing-disputes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { expect } from 'chai'
44
import hre from 'hardhat'
55

66
import { DisputeManager, IGraphToken, SubgraphService } from '../../../../typechain-types'
7+
import { generatePOI } from '@graphprotocol/toolshed'
78
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
89
import { HorizonStaking } from '@graphprotocol/horizon'
910

1011
import { indexers } from '../../../../tasks/test/fixtures/indexers'
11-
import { generatePOI } from '@graphprotocol/toolshed'
1212

1313
describe('Indexing Disputes', () => {
1414
let disputeManager: DisputeManager

packages/subgraph-service/test/integration/after-transition-period/dispute-manager/query-conflict-disputes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { EventLog, Wallet } from 'ethers'
21
import { ethers } from 'hardhat'
2+
import { EventLog } from 'ethers'
33
import { expect } from 'chai'
44
import hre from 'hardhat'
55

packages/subgraph-service/test/integration/after-transition-period/dispute-manager/query-disputes.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import { EventLog, Wallet } from 'ethers'
21
import { ethers } from 'hardhat'
2+
import { EventLog } from 'ethers'
33
import { expect } from 'chai'
44
import hre from 'hardhat'
55

66
import { DisputeManager, IGraphToken, SubgraphService } from '../../../../typechain-types'
7-
import { HorizonStaking } from '@graphprotocol/horizon'
87
import { generateAttestationData } from '@graphprotocol/toolshed'
98
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
9+
import { HorizonStaking } from '@graphprotocol/horizon'
10+
import { setGRTBalance } from '@graphprotocol/toolshed/hardhat'
1011

1112
import { indexers } from '../../../../tasks/test/fixtures/indexers'
12-
import { setGRTBalance } from '@graphprotocol/toolshed/hardhat'
1313

1414
describe('Query Disputes', () => {
1515
let disputeManager: DisputeManager

packages/subgraph-service/test/integration/after-transition-period/subgraph-service/operator.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import { DisputeManager, IGraphToken, IPaymentsEscrow, SubgraphService } from '.
66
import { encodeCollectData, encodeRegistrationData, encodeStartServiceData, generateAllocationProof, generatePOI, getSignedRAVCalldata, getSignerProof } from '@graphprotocol/toolshed'
77
import { GraphTallyCollector, HorizonStaking } from '@graphprotocol/horizon'
88
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
9-
10-
import { indexers } from '../../../../tasks/test/fixtures/indexers'
119
import { PaymentTypes } from '@graphprotocol/toolshed'
1210
import { setGRTBalance } from '@graphprotocol/toolshed/hardhat'
1311

12+
import { indexers } from '../../../../tasks/test/fixtures/indexers'
13+
1414
describe('Operator', () => {
1515
let subgraphService: SubgraphService
1616
let staking: HorizonStaking

packages/subgraph-service/test/integration/after-transition-period/subgraph-service/paused.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import { expect } from 'chai'
33
import hre from 'hardhat'
44

55
import { DisputeManager, IGraphToken, SubgraphService } from '../../../../typechain-types'
6-
import { setGRTBalance } from '@graphprotocol/toolshed/hardhat'
6+
import { encodeCollectData, encodeRegistrationData, encodeStartServiceData, generateAllocationProof, generatePOI, PaymentTypes } from '@graphprotocol/toolshed'
77
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
8+
import { setGRTBalance } from '@graphprotocol/toolshed/hardhat'
89

9-
import { encodeCollectData, encodeRegistrationData, encodeStartServiceData, generateAllocationProof, generatePOI, PaymentTypes } from '@graphprotocol/toolshed'
1010
import { indexers } from '../../../../tasks/test/fixtures/indexers'
1111

1212
describe('Paused Protocol', () => {

packages/subgraph-service/test/integration/after-transition-period/subgraph-service/permisionless.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { ethers } from 'hardhat'
22
import { expect } from 'chai'
33
import hre from 'hardhat'
44

5+
import { encodeStartServiceData, generateAllocationProof } from '@graphprotocol/toolshed'
56
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
67
import { SubgraphService } from '../../../../typechain-types'
78

89
import { indexers } from '../../../../tasks/test/fixtures/indexers'
9-
import { encodeStartServiceData, generateAllocationProof } from '@graphprotocol/toolshed'
1010

1111
describe('Permissionless', () => {
1212
let subgraphService: SubgraphService

packages/subgraph-service/test/integration/during-transition-period/governance.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { expect } from 'chai'
33
import hre from 'hardhat'
44

55
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
6-
76
import { ISubgraphService } from '../../../typechain-types'
87

98
describe('Governance', () => {

packages/subgraph-service/test/integration/during-transition-period/indexer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { ethers } from 'hardhat'
22
import { expect } from 'chai'
33
import hre from 'hardhat'
44

5+
import { encodeStartServiceData, generateAllocationProof } from '@graphprotocol/toolshed'
56
import { HardhatEthersSigner } from '@nomicfoundation/hardhat-ethers/signers'
7+
import { ISubgraphService } from '../../../typechain-types'
68

79
import { indexers } from '../../../tasks/test/fixtures/indexers'
8-
import { ISubgraphService } from '../../../typechain-types'
9-
import { encodeStartServiceData, generateAllocationProof } from '@graphprotocol/toolshed'
1010

1111
describe('Indexer', () => {
1212
let subgraphService: ISubgraphService

0 commit comments

Comments
 (0)