Skip to content

Commit 315454d

Browse files
authored
Merge pull request #1234 from graphprotocol/horizon-testnet
2 parents 5223807 + 121e0d6 commit 315454d

File tree

474 files changed

+2065569
-257332
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

474 files changed

+2065569
-257332
lines changed

packages/address-book/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @graphprotocol/address-book
22

3+
## 1.0.1
4+
5+
### Patch Changes
6+
7+
- Fix L2Curation implementation address in subgraph service address book.
8+
9+
## 1.0.0
10+
11+
### Major Changes
12+
13+
- Deploy horizon to testnet
14+
315
## 0.1.0
416

517
### Minor Changes

packages/address-book/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphprotocol/address-book",
3-
"version": "0.1.0",
3+
"version": "1.0.1",
44
"publishConfig": {
55
"access": "public"
66
},

packages/contracts/hardhat.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import 'hardhat-contract-sizer' // for size-contracts script
55
import 'hardhat-ignore-warnings'
66
import 'solidity-coverage' // for coverage script
77
import 'dotenv/config'
8+
import '@nomicfoundation/hardhat-verify'
89

910
import { HardhatUserConfig } from 'hardhat/config'
1011

@@ -40,6 +41,16 @@ const config: HardhatUserConfig = {
4041
mnemonic: DEFAULT_TEST_MNEMONIC,
4142
},
4243
},
44+
arbitrumSepolia: {
45+
chainId: 421614,
46+
url: process.env.ARBITRUM_SEPOLIA_URL || 'https://sepolia-rollup.arbitrum.io/rpcblock',
47+
accounts: {
48+
mnemonic: DEFAULT_TEST_MNEMONIC,
49+
},
50+
},
51+
},
52+
etherscan: {
53+
apiKey: process.env.ARBISCAN_API_KEY,
4354
},
4455
typechain: {
4556
outDir: 'types',

packages/contracts/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"@graphprotocol/common-ts": "^1.8.3",
6161
"@graphprotocol/interfaces": "workspace:^",
6262
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
63+
"@nomicfoundation/hardhat-verify": "2.1.1",
6364
"@nomiclabs/hardhat-ethers": "^2.2.3",
6465
"@nomiclabs/hardhat-etherscan": "^3.1.0",
6566
"@nomiclabs/hardhat-waffle": "^2.0.6",

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.2.6
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @graphprotocol/toolshed@1.0.0
9+
310
## 0.2.5
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.2.5",
3+
"version": "0.2.6",
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+
## 1.0.0
4+
5+
### Major Changes
6+
7+
- Deploy horizon to testnet
8+
39
## 0.4.1
410

511
### Patch Changes

packages/horizon/addresses.json

Lines changed: 41 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,63 @@
11
{
22
"421614": {
3+
"GraphPayments": {
4+
"address": "0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5",
5+
"proxy": "transparent",
6+
"proxyAdmin": "0x2Bc9A9a48cf2C2F8d187C23bDEb62bC2eC045bF7",
7+
"implementation": "0xCB13445945aE710d7B8f3e4FB4446c673C8f3b1A"
8+
},
9+
"PaymentsEscrow": {
10+
"address": "0x4b5D3Da463F7E076bb7CDF5030960bf123245681",
11+
"proxy": "transparent",
12+
"proxyAdmin": "0x36dFE73C38e0340C8925BA6a68aE706b74340156",
13+
"implementation": "0x36a194135E41a556ad6F4Dbad6b7F8F0e884ba1d"
14+
},
315
"Controller": {
4-
"address": "0x0750EdA3185C758247E97819074bCD217a815FaE"
16+
"address": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695"
517
},
6-
"EpochManager": {
7-
"address": "0xAA1DeBfb7A7c0Ba85cef858B6E70cFad943Fd4A2",
18+
"L2Curation": {
19+
"address": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
820
"proxy": "graph",
9-
"implementation": "0x450906A976dc21450A7CcD1989D26E137E605B91"
21+
"implementation": "0xbC8F4355f346e47eef8A0DBFF4a58616ACf7DaCA"
1022
},
11-
"L2Curation": {
12-
"address": "0xe135BFD9E51BbAfCeBb0141af85F0bc6DA1b3BA4",
23+
"L2GNS": {
24+
"address": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
1325
"proxy": "graph",
14-
"implementation": "0x9CCD9B656f8A558879974ef2505496eEd7Ef7210"
26+
"implementation": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9"
27+
},
28+
"SubgraphNFT": {
29+
"address": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A"
1530
},
1631
"RewardsManager": {
17-
"address": "0x1AB05a65fa6D5F6a90A23693D5d40A4D927a815f",
32+
"address": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
1833
"proxy": "graph",
19-
"implementation": "0x05Ca4d407ec53Ac17ce6Bb414f42663f415Dc5C3"
34+
"implementation": "0x856843F6409a8b3A0d4aaE67313037FED02bBBFf"
2035
},
21-
"L2GraphTokenGateway": {
22-
"address": "0x7284213d1cDa80C892a4388f38dA431F06343144",
36+
"HorizonStaking": {
37+
"address": "0x865365C425f3A593Ffe698D9c4E6707D14d51e08",
2338
"proxy": "graph",
24-
"implementation": "0x4dEA2d1Be05909B71F539FD32601F7bd736c28D4"
39+
"implementation": "0x2AF6F51e119A79497C3A3FFf012B5889da489764"
2540
},
26-
"L2GraphToken": {
27-
"address": "0xBBcb9a575176039C06F94d4d8337818318A26828",
28-
"proxy": "graph",
29-
"implementation": "0x71927f8Ff0ce294882e2A161A54F62f3b0f3c726"
41+
"GraphTallyCollector": {
42+
"address": "0x382863e7B662027117449bd2c49285582bbBd21B"
3043
},
3144
"GraphProxyAdmin": {
32-
"address": "0x1CEBe1C314Cc454baf4bd553409d957C833623c0"
45+
"address": "0x7474a6cc5fAeDEc620Db0fa8E4da6eD58477042C"
3346
},
34-
"HorizonStaking": {
35-
"address": "0xF5D432192dAF7e8B045349693577ccF0B5165A12",
47+
"EpochManager": {
48+
"address": "0x88b3C7f37253bAA1A9b95feAd69bD5320585826D",
3649
"proxy": "graph",
37-
"implementation": "0xa9B5CD0E94eBDf5A6dBB16A01635D432AB707244"
50+
"implementation": "0x646627fa39ec6f6E757Cb4189bC54c92FFBb71da"
3851
},
39-
"GraphPayments": {
40-
"proxy": "transparent",
41-
"proxyAdmin": "0xAcA3dd622e863E425Cdb15E8734a5CB318448db7",
42-
"address": "0xAFd60629034fBdC3ef58518B817bBDB4EC861c93",
43-
"implementation": "0x4756cdF556A78BD28399E833Bc5bBFc7a5bca866"
44-
},
45-
"PaymentsEscrow": {
46-
"proxy": "transparent",
47-
"proxyAdmin": "0xbB643167f03EfF532c537e3d72E56b9992CaD985",
48-
"address": "0x70d5AFAAaEF8f2F095E83D6E6151146c18A5Bb85",
49-
"implementation": "0xeED33B904efF05BbdcC9008F5174088DF77dD183"
52+
"L2GraphToken": {
53+
"address": "0xf8c05dCF59E8B28BFD5eed176C562bEbcfc7Ac04",
54+
"proxy": "graph",
55+
"implementation": "0x4cf968bA38b43dd10be114daa7959C1b369479e5"
5056
},
51-
"GraphTallyCollector": {
52-
"address": "0xB63bC33D13F73eFD14d32D2b9FC0B6116B6611CE"
57+
"L2GraphTokenGateway": {
58+
"address": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
59+
"proxy": "graph",
60+
"implementation": "0x3C2eB5E561f70c0573E5f6c92358e988E32cb5eC"
5361
}
5462
}
5563
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"$global": {
3+
// Accounts already configured in the original Graph Protocol
4+
"governor": "0x72ee30d43Fb5A90B3FE983156C5d2fBE6F6d07B3",
5+
6+
// Addresses for contracts deployed in the original Graph Protocol
7+
"graphProxyAdminAddress": "0x7474a6cc5fAeDEc620Db0fa8E4da6eD58477042C",
8+
"controllerAddress": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695",
9+
"horizonStakingAddress": "0x865365C425f3A593Ffe698D9c4E6707D14d51e08",
10+
"epochManagerAddress": "0x88b3C7f37253bAA1A9b95feAd69bD5320585826D",
11+
"epochManagerImplementationAddress": "0x646627fa39ec6f6E757Cb4189bC54c92FFBb71da",
12+
"graphTokenAddress": "0xf8c05dCF59E8B28BFD5eed176C562bEbcfc7Ac04",
13+
"graphTokenImplementationAddress": "0x4cf968bA38b43dd10be114daa7959C1b369479e5",
14+
"graphTokenGatewayAddress": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
15+
"graphTokenGatewayImplementationAddress": "0x3C2eB5E561f70c0573E5f6c92358e988E32cb5eC",
16+
"rewardsManagerAddress": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
17+
"curationAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
18+
"gnsAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
19+
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
20+
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",
21+
22+
// Must be set for step 2 of the migration
23+
"graphPaymentsAddress": "0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5",
24+
"paymentsEscrowAddress": "0x4b5D3Da463F7E076bb7CDF5030960bf123245681",
25+
26+
// Must be set for step 3 and 4 of the migration
27+
"subgraphServiceAddress": "0xc24A3dAC5d06d771f657A48B20cE1a671B78f26b",
28+
29+
// Must be set for step 4 of the migration
30+
"horizonStakingImplementationAddress": "0x2AF6F51e119A79497C3A3FFf012B5889da489764",
31+
"curationImplementationAddress": "0xbC8F4355f346e47eef8A0DBFF4a58616ACf7DaCA",
32+
"rewardsManagerImplementationAddress": "0x856843F6409a8b3A0d4aaE67313037FED02bBBFf",
33+
34+
// Global parameters
35+
"maxThawingPeriod": 2419200
36+
},
37+
"GraphPayments": {
38+
"protocolPaymentCut": 10000
39+
},
40+
"PaymentsEscrow": {
41+
"withdrawEscrowThawingPeriod": 10800
42+
},
43+
"GraphTallyCollector": {
44+
"eip712Name": "GraphTallyCollector",
45+
"eip712Version": "1",
46+
"revokeSignerThawingPeriod": 10800
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"_format": "hh-sol-dbg-1",
3+
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
4+
}

0 commit comments

Comments
 (0)