Skip to content

Commit d06050c

Browse files
committed
fix: remove remaining usage of the removed GraphGovernance contract
1 parent bd2f487 commit d06050c

File tree

5 files changed

+1
-128
lines changed

5 files changed

+1
-128
lines changed

packages/contracts/cli/commands/contracts/governance.ts

Lines changed: 0 additions & 121 deletions
This file was deleted.

packages/contracts/cli/commands/contracts/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { gnsCommand } from './gns'
77
import { graphTokenCommand } from './graphToken'
88
import { stakingCommand } from './staking'
99
import { anyCommand } from './any'
10-
import { governanceCommand } from './governance'
1110

1211
import { disputeManagerCommand } from './disputeManager'
1312

@@ -24,7 +23,6 @@ export const contractsCommand = {
2423
.command(stakingCommand)
2524
.command(anyCommand)
2625
.command(disputeManagerCommand)
27-
.command(governanceCommand)
2826
},
2927
handler: (): void => {
3028
yargs.showHelp()

packages/contracts/cli/contracts.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import { GraphToken } from '../build/types/GraphToken'
3131
import { Controller } from '../build/types/Controller'
3232
import { BancorFormula } from '../build/types/BancorFormula'
3333
import { IENS } from '../build/types/IENS'
34-
import { GraphGovernance } from '../build/types/GraphGovernance'
3534
import { AllocationExchange } from '../build/types/AllocationExchange'
3635
import { SubgraphNFT } from '../build/types/SubgraphNFT'
3736
import { GraphCurationToken } from '../build/types/GraphCurationToken'
@@ -60,7 +59,6 @@ export interface NetworkContracts {
6059
Controller: Controller
6160
BancorFormula: BancorFormula
6261
IENS: IENS
63-
GraphGovernance: GraphGovernance
6462
AllocationExchange: AllocationExchange
6563
SubgraphNFT: SubgraphNFT
6664
SubgraphNFTDescriptor: SubgraphNFTDescriptor

packages/contracts/scripts/clean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ echo "Cleaning flattened contracts..."
88

99
FLATTENED_FILES=(
1010
"$OUT_DIR/Controller.sol"
11-
"$OUT_DIR/GraphGovernance.sol"
1211
"$OUT_DIR/GNS.sol"
1312
"$OUT_DIR/ServiceRegistry.sol"
1413
"$OUT_DIR/Curation.sol"
@@ -27,4 +26,4 @@ for path in ${FLATTENED_FILES[@]}; do
2726
-e "s|// SPDX-License-Identifier:.*||g" \
2827
-e 's|pragma abicoder v2;|//pragma abicoder v2;|g' \
2928
-e '1s|^|pragma abicoder v2;\n|' $path
30-
done
29+
done

packages/contracts/scripts/flatten

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ echo "Flattening contracts..."
88

99
FILES=(
1010
"contracts/governance/Controller.sol"
11-
"contracts/governance/GraphGovernance.sol"
1211
"contracts/discovery/GNS.sol"
1312
"contracts/discovery/ServiceRegistry.sol"
1413
"contracts/curation/Curation.sol"

0 commit comments

Comments
 (0)