Skip to content

Commit e1663dd

Browse files
committed
feat: add GNS to deployments
Signed-off-by: Tomás Migone <[email protected]>
1 parent 18b34c0 commit e1663dd

36 files changed

+232
-22
lines changed

packages/contracts/contracts/discovery/IGNS.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22

3-
pragma solidity ^0.7.6;
3+
pragma solidity ^0.7.6 || 0.8.27;
44

55
/**
66
* @title Interface for GNS

packages/contracts/contracts/discovery/ISubgraphNFT.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22

3-
pragma solidity ^0.7.6;
3+
pragma solidity ^0.7.6 || 0.8.27;
44

55
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
66

packages/hardhat-graph-protocol/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# hardhat-graph-protocol
22

3+
## 0.1.19
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @graphprotocol/toolshed@0.5.1
9+
310
## 0.1.18
411

512
### Patch Changes

packages/hardhat-graph-protocol/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hardhat-graph-protocol",
3-
"version": "0.1.18",
3+
"version": "0.1.19",
44
"publishConfig": {
55
"access": "public"
66
},

packages/horizon/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/horizon
22

3+
## 0.3.3
4+
5+
### Patch Changes
6+
7+
- Add GNS to deployments
8+
39
## 0.3.2
410

511
### Patch Changes

packages/horizon/contracts/mocks/imports.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ import "@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol";
1010
import "@graphprotocol/contracts/contracts/governance/Controller.sol";
1111
import "@graphprotocol/contracts/contracts/upgrades/GraphProxyAdmin.sol";
1212
import "@graphprotocol/contracts/contracts/staking/IStaking.sol";
13+
import "@graphprotocol/contracts/contracts/discovery/ISubgraphNFT.sol";
1314

1415
// Also for toolshed, solidity version in @graphprotocol/contracts does not support overriding public getters
1516
// in interface file, so we need to amend them here.
1617
import { IRewardsManager } from "@graphprotocol/contracts/contracts/rewards/IRewardsManager.sol";
1718
import { IL2Curation } from "@graphprotocol/contracts/contracts/l2/curation/IL2Curation.sol";
1819
import { IEpochManager } from "@graphprotocol/contracts/contracts/epochs/IEpochManager.sol";
20+
import { IGNS } from "@graphprotocol/contracts/contracts/discovery/IGNS.sol";
1921

2022
interface IRewardsManagerToolshed is IRewardsManager {
2123
function subgraphService() external view returns (address);
@@ -28,3 +30,7 @@ interface IL2CurationToolshed is IL2Curation {
2830
interface IEpochManagerToolshed is IEpochManager {
2931
function epochLength() external view returns (uint256);
3032
}
33+
34+
interface IGNSToolshed is IGNS {
35+
function subgraphNFT() external view returns (address);
36+
}

packages/horizon/ignition/configs/migrate.default.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"graphTokenGatewayAddress": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
1313
"rewardsManagerAddress": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
1414
"curationAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
15+
"gnsAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
16+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
17+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
1518

1619
// Must be set for step 2 of the migration
1720
"graphPaymentsAddress": "",

packages/horizon/ignition/configs/migrate.fork1.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"graphTokenGatewayAddress": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
1313
"rewardsManagerAddress": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
1414
"curationAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
15+
"gnsAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
16+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
17+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
1518

1619
// Must be set for step 2 of the migration
1720
"graphPaymentsAddress": "0x1A7Fb71014d4395903eC56662f32dD02344D361C",

packages/horizon/ignition/configs/migrate.integration.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
"graphTokenGatewayAddress": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
1313
"rewardsManagerAddress": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
1414
"curationAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
15+
"gnsAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
16+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
17+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
1518

1619
// Must be set for step 2 of the migration
1720
"graphPaymentsAddress": "",

packages/horizon/ignition/modules/deploy.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default buildModule('GraphHorizon_Deploy', (m) => {
1717
RewardsManagerImplementation,
1818
L2Curation,
1919
L2CurationImplementation,
20+
L2GNS,
21+
L2GNSImplementation,
22+
SubgraphNFT,
2023
} = m.useModule(GraphPeripheryModule)
2124
const {
2225
HorizonStaking,
@@ -46,6 +49,9 @@ export default buildModule('GraphHorizon_Deploy', (m) => {
4649
Implementation_EpochManager: EpochManagerImplementation,
4750
Graph_Proxy_L2Curation: L2Curation,
4851
Implementation_L2Curation: L2CurationImplementation,
52+
Graph_Proxy_L2GNS: L2GNS,
53+
Implementation_L2GNS: L2GNSImplementation,
54+
SubgraphNFT,
4955
Graph_Proxy_RewardsManager: RewardsManager,
5056
Implementation_RewardsManager: RewardsManagerImplementation,
5157
Graph_Proxy_L2GraphTokenGateway: L2GraphTokenGateway,

packages/horizon/ignition/modules/migrate/migrate-3.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ export default buildModule('GraphHorizon_Migrate_3', (m) => {
1414
EpochManager,
1515
L2GraphToken,
1616
L2GraphTokenGateway,
17+
L2GNS,
18+
L2GNSImplementation,
19+
SubgraphNFT,
1720
} = m.useModule(MigratePeripheryModule)
1821

1922
const {
@@ -29,6 +32,9 @@ export default buildModule('GraphHorizon_Migrate_3', (m) => {
2932
return {
3033
Graph_Proxy_L2Curation: L2Curation,
3134
Implementation_L2Curation: L2CurationImplementation,
35+
Graph_Proxy_L2GNS: L2GNS,
36+
Implementation_L2GNS: L2GNSImplementation,
37+
SubgraphNFT,
3238
Graph_Proxy_RewardsManager: RewardsManager,
3339
Implementation_RewardsManager: RewardsManagerImplementation,
3440
Graph_Proxy_HorizonStaking: HorizonStaking,

packages/horizon/ignition/modules/periphery/Curation.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import GraphCurationTokenArtifact from '@graphprotocol/contracts/build/contracts
1010
import GraphProxyAdminArtifact from '@graphprotocol/contracts/build/contracts/contracts/upgrades/GraphProxyAdmin.sol/GraphProxyAdmin.json'
1111
import GraphProxyArtifact from '@graphprotocol/contracts/build/contracts/contracts/upgrades/GraphProxy.sol/GraphProxy.json'
1212

13+
// Curation deployment should be managed by ignition scripts in subgraph-service package however
14+
// due to tight coupling with Controller it's easier to do it on the horizon package.
15+
1316
export default buildModule('L2Curation', (m) => {
1417
const { Controller } = m.useModule(ControllerModule)
1518
const { GraphProxyAdmin } = m.useModule(GraphProxyAdminModule)
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import { buildModule } from '@nomicfoundation/hardhat-ignition/modules'
2+
import { deployWithGraphProxy } from '../proxy/GraphProxy'
3+
4+
import ControllerModule from './Controller'
5+
import CurationModule from './Curation'
6+
import GraphProxyAdminModule from './GraphProxyAdmin'
7+
import GraphTokenModule from './GraphToken'
8+
9+
import L2GNSArtifact from '@graphprotocol/contracts/build/contracts/contracts/l2/discovery/L2GNS.sol/L2GNS.json'
10+
import SubgraphNFTArtifact from '@graphprotocol/contracts/build/contracts/contracts/discovery/SubgraphNFT.sol/SubgraphNFT.json'
11+
import SubgraphNFTDescriptorArtifact from '@graphprotocol/contracts/build/contracts/contracts/discovery/SubgraphNFTDescriptor.sol/SubgraphNFTDescriptor.json'
12+
13+
// GNS deployment should be managed by ignition scripts in subgraph-service package however
14+
// due to tight coupling with Controller it's easier to do it on the horizon package.
15+
16+
export default buildModule('L2GNS', (m) => {
17+
const { Controller } = m.useModule(ControllerModule)
18+
const { GraphProxyAdmin } = m.useModule(GraphProxyAdminModule)
19+
const { L2GraphToken } = m.useModule(GraphTokenModule)
20+
const { L2Curation } = m.useModule(CurationModule)
21+
22+
const deployer = m.getAccount(0)
23+
const governor = m.getAccount(1)
24+
25+
const SubgraphNFTDescriptor = m.contract('SubgraphNFTDescriptor', SubgraphNFTDescriptorArtifact)
26+
const SubgraphNFT = m.contract('SubgraphNFT', SubgraphNFTArtifact, [deployer])
27+
28+
m.call(SubgraphNFT, 'setTokenDescriptor', [SubgraphNFTDescriptor])
29+
30+
const { proxy: L2GNS, implementation: L2GNSImplementation } = deployWithGraphProxy(m, GraphProxyAdmin, {
31+
name: 'L2GNS',
32+
artifact: L2GNSArtifact,
33+
initArgs: [Controller, SubgraphNFT],
34+
})
35+
m.call(L2GNS, 'approveAll', [], { after: [L2GraphToken, L2Curation] })
36+
37+
const setMinterCall = m.call(SubgraphNFT, 'setMinter', [L2GNS])
38+
m.call(SubgraphNFT, 'transferOwnership', [governor], { after: [setMinterCall] })
39+
40+
return { L2GNS, L2GNSImplementation, SubgraphNFT }
41+
})
42+
43+
// L2GNS and SubgraphNFT are already deployed and are not being upgraded
44+
// This is a no-op to get the addresses into the address book
45+
export const MigrateL2GNSModule = buildModule('L2GNS', (m) => {
46+
const gnsProxyAddress = m.getParameter('gnsAddress')
47+
const gnsImplementationAddress = m.getParameter('gnsImplementationAddress')
48+
const subgraphNFTAddress = m.getParameter('subgraphNFTAddress')
49+
50+
const SubgraphNFT = m.contractAt('SubgraphNFT', SubgraphNFTArtifact, subgraphNFTAddress)
51+
const L2GNS = m.contractAt('L2GNS', L2GNSArtifact, gnsProxyAddress)
52+
const L2GNSImplementation = m.contractAt('L2GNSAddressBook', L2GNSArtifact, gnsImplementationAddress)
53+
54+
return { L2GNS, L2GNSImplementation, SubgraphNFT }
55+
})

packages/horizon/ignition/modules/periphery/periphery.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { ethers } from 'ethers'
55
import ControllerModule, { MigrateControllerDeployerModule } from './Controller'
66
import CurationModule, { MigrateCurationDeployerModule } from './Curation'
77
import EpochManagerModule, { MigrateEpochManagerModule } from './EpochManager'
8+
import GNSModule, { MigrateL2GNSModule } from './GNS'
89
import GraphProxyAdminModule, { MigrateGraphProxyAdminModule } from './GraphProxyAdmin'
910
import GraphTokenGatewayModule, { MigrateGraphTokenGatewayModule } from './GraphTokenGateway'
1011
import GraphTokenModule, { MigrateGraphTokenModule } from './GraphToken'
@@ -16,6 +17,7 @@ export default buildModule('GraphHorizon_Periphery', (m) => {
1617

1718
const { EpochManager, EpochManagerImplementation } = m.useModule(EpochManagerModule)
1819
const { L2Curation, L2CurationImplementation } = m.useModule(CurationModule)
20+
const { L2GNS, L2GNSImplementation, SubgraphNFT } = m.useModule(GNSModule)
1921
const { RewardsManager, RewardsManagerImplementation } = m.useModule(RewardsManagerModule)
2022
const { L2GraphTokenGateway, L2GraphTokenGatewayImplementation } = m.useModule(GraphTokenGatewayModule)
2123
const { L2GraphToken, L2GraphTokenImplementation } = m.useModule(GraphTokenModule)
@@ -26,13 +28,17 @@ export default buildModule('GraphHorizon_Periphery', (m) => {
2628
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('GraphTokenGateway')), L2GraphTokenGateway], { id: 'setContractProxy_GraphTokenGateway' })
2729
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('GraphProxyAdmin')), GraphProxyAdmin], { id: 'setContractProxy_GraphProxyAdmin' })
2830
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('Curation')), L2Curation], { id: 'setContractProxy_L2Curation' })
31+
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('GNS')), L2GNS], { id: 'setContractProxy_L2GNS' })
2932

3033
return {
3134
Controller,
3235
EpochManager,
3336
EpochManagerImplementation,
3437
L2Curation,
3538
L2CurationImplementation,
39+
L2GNS,
40+
L2GNSImplementation,
41+
SubgraphNFT,
3642
GraphProxyAdmin,
3743
L2GraphToken,
3844
L2GraphTokenImplementation,
@@ -45,6 +51,7 @@ export default buildModule('GraphHorizon_Periphery', (m) => {
4551

4652
export const MigratePeripheryModule = buildModule('GraphHorizon_Periphery', (m) => {
4753
const { L2CurationProxy: L2Curation, L2CurationImplementation } = m.useModule(MigrateCurationDeployerModule)
54+
const { L2GNS, L2GNSImplementation, SubgraphNFT } = m.useModule(MigrateL2GNSModule)
4855
const { RewardsManagerProxy: RewardsManager, RewardsManagerImplementation } = m.useModule(MigrateRewardsManagerDeployerModule)
4956
const { Controller } = m.useModule(MigrateControllerDeployerModule)
5057
const { GraphProxyAdmin } = m.useModule(MigrateGraphProxyAdminModule)
@@ -53,12 +60,14 @@ export const MigratePeripheryModule = buildModule('GraphHorizon_Periphery', (m)
5360
const { L2GraphTokenGateway } = m.useModule(MigrateGraphTokenGatewayModule)
5461

5562
// Load these contracts so they are available in the address book
56-
5763
return {
5864
Controller,
5965
EpochManager,
6066
L2Curation,
6167
L2CurationImplementation,
68+
L2GNS,
69+
L2GNSImplementation,
70+
SubgraphNFT,
6271
GraphProxyAdmin,
6372
L2GraphToken,
6473
L2GraphTokenGateway,

packages/horizon/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/horizon",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"publishConfig": {
55
"access": "public"
66
},
@@ -55,7 +55,7 @@
5555
"hardhat": "^2.22.18",
5656
"hardhat-contract-sizer": "^2.10.0",
5757
"hardhat-gas-reporter": "^1.0.8",
58-
"hardhat-graph-protocol": "workspace:^0.1.18",
58+
"hardhat-graph-protocol": "workspace:^0.1.19",
5959
"hardhat-secure-accounts": "^1.0.5",
6060
"lint-staged": "^15.2.2",
6161
"prettier": "^3.2.5",

packages/horizon/scripts/pre-verify

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ cp "$DBG_DIR_DEST/GraphProxy#GraphProxy.dbg.json" "$DBG_DIR_DEST/L2GraphTokenGat
5252
cp "$DBG_DIR_DEST/GraphProxy#GraphProxy.dbg.json" "$DBG_DIR_DEST/RewardsManager#GraphProxy.dbg.json"
5353
cp "$DBG_DIR_DEST/GraphProxy#GraphProxy.dbg.json" "$DBG_DIR_DEST/BridgeEscrow#GraphProxy.dbg.json"
5454
cp "$DBG_DIR_DEST/GraphProxy#GraphProxy.dbg.json" "$DBG_DIR_DEST/EpochManager#GraphProxy.dbg.json"
55+
cp "$DBG_DIR_DEST/GraphProxy#GraphProxy.dbg.json" "$DBG_DIR_DEST/L2GNS#GraphProxy.dbg.json"
5556

5657
cp "$DBG_DIR_DEST/TransparentUpgradeableProxy#TransparentUpgradeableProxy.dbg.json" "$DBG_DIR_DEST/HorizonProxiesDeployer#TransparentUpgradeableProxy_GraphPayments.dbg.json"
5758
cp "$DBG_DIR_DEST/TransparentUpgradeableProxy#TransparentUpgradeableProxy.dbg.json" "$DBG_DIR_DEST/HorizonProxies#TransparentUpgradeableProxy_GraphPayments.dbg.json"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import hre from 'hardhat'
2+
3+
import { expect } from 'chai'
4+
import { graphProxyTests } from './lib/GraphProxy.test'
5+
6+
const graph = hre.graph()
7+
8+
const graphProxyAdminAddressBookEntry = graph.horizon.addressBook.getEntry('GraphProxyAdmin')
9+
const gnsAddressBookEntry = graph.horizon.addressBook.getEntry('L2GNS')
10+
const GNS = graph.horizon.contracts.L2GNS
11+
const SubgraphNFT = graph.horizon.contracts.SubgraphNFT
12+
13+
describe('GNS', function () {
14+
it('should set the right subgraphNFT address', async function () {
15+
const subgraphNFT = await GNS.subgraphNFT()
16+
expect(subgraphNFT).to.equal(SubgraphNFT)
17+
})
18+
})
19+
20+
graphProxyTests('GNS', gnsAddressBookEntry, graphProxyAdminAddressBookEntry.address)

packages/horizon/test/deployment/lib/GraphProxy.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ import { assert, expect } from 'chai'
44
import { AddressBookEntry } from '@graphprotocol/toolshed/deployments'
55
import { zeroPadValue } from 'ethers'
66

7-
export function graphProxyTests(contractName: string, addressBookEntry: AddressBookEntry, proxyAdmin: string, upgraded = false): void {
8-
const testIf = () => (upgraded ? it : it.skip)
9-
7+
export function graphProxyTests(contractName: string, addressBookEntry: AddressBookEntry, proxyAdmin: string): void {
108
describe(`${contractName}: GraphProxy`, function () {
11-
testIf()('should target the correct implementation', async function () {
9+
it('should target the correct implementation', async function () {
1210
const implementation = await hre.ethers.provider.getStorage(addressBookEntry.address, '0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc')
1311
if (!addressBookEntry.implementation) {
1412
assert.fail('Implementation address is not set')

packages/subgraph-service/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @graphprotocol/subgraph-service
22

3+
## 0.3.5
4+
5+
### Patch Changes
6+
7+
- Add GNS to deployments
8+
39
## 0.3.4
410

511
### Patch Changes

packages/subgraph-service/ignition/configs/migrate.default.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"controllerAddress": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695",
1010
"curationProxyAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
1111
"curationImplementationAddress": "0xd90022aB67920212D0F902F5c427DE82732DE136",
12+
"gnsProxyAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
13+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
14+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
1215

1316
// Must be set for step 2 of the deployment
1417
"disputeManagerProxyAddress": "",

packages/subgraph-service/ignition/configs/migrate.fork1.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"controllerAddress": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695",
1010
"curationProxyAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
1111
"curationImplementationAddress": "0xd90022aB67920212D0F902F5c427DE82732DE136",
12+
"gnsProxyAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
13+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
14+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
1215

1316
// Must be set for step 2 of the deployment
1417
"disputeManagerProxyAddress": "0x1CEBe1C314Cc454baf4bd553409d957C833623c0",

packages/subgraph-service/ignition/configs/migrate.integration.json5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"controllerAddress": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695",
1010
"curationProxyAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
1111
"curationImplementationAddress": "0xd90022aB67920212D0F902F5c427DE82732DE136",
12+
"gnsProxyAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
13+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
14+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
15+
1216

1317
// Must be set for step 2 of the deployment
1418
"disputeManagerProxyAddress": "",

packages/subgraph-service/ignition/configs/protocol.default.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"controllerAddress": "",
1010
"curationProxyAddress": "",
1111
"curationImplementationAddress": "",
12+
"gnsProxyAddress": "",
13+
"gnsImplementationAddress": "",
14+
"subgraphNFTAddress": "",
1215

1316
// Must be set for step 2 of the deployment
1417
"disputeManagerProxyAddress": "",

packages/subgraph-service/ignition/configs/protocol.localNetwork.json5

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
{
32
"$global": {
43
// Accounts for new deployment - derived from local network mnemonic
@@ -10,6 +9,9 @@
109
"controllerAddress": "",
1110
"curationProxyAddress": "",
1211
"curationImplementationAddress": "",
12+
"gnsProxyAddress": "",
13+
"gnsImplementationAddress": "",
14+
"subgraphNFTAddress": "",
1315

1416
// Must be set for step 2 of the deployment
1517
"disputeManagerProxyAddress": "",

0 commit comments

Comments
 (0)