Skip to content
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
69c025e
chore: clean up ignition artifacts prior to testnet deploy
tmigone Oct 6, 2025
be75312
chore: clean up address books
tmigone Oct 6, 2025
cbb7d36
chore: add arbitrum sepolia ignition configuration files
tmigone Oct 6, 2025
34e5321
chore: deploy horizon upgrade script 1
tmigone Oct 6, 2025
8fe9b42
chore: verify horizon step 1 contracts for testnet
tmigone Oct 6, 2025
ac6acd4
chore: deploy subgraph service script 1 for testnet
tmigone Oct 6, 2025
db40f56
chore: verify subgraph service step 1 for testnet
tmigone Oct 6, 2025
01b4ed9
chore: deploy horizon step 2 for testnet
tmigone Oct 6, 2025
453aada
chore: run tests post horizon script 2 for testnet
tmigone Oct 6, 2025
97accaa
fix: do not remove legacy auth for vesting contracts yet
tmigone Oct 6, 2025
6bccb79
fix: ensure .env is sourced in legacy build script, add default mnemonic
tmigone Oct 6, 2025
d35f3ea
chore: deploy horizon script 3 for testnet
tmigone Oct 6, 2025
3408398
chore: add alternative verification scripts
tmigone Oct 7, 2025
a6dd2a7
chore: add hh verify to contracts package
tmigone Oct 7, 2025
91d89df
chore: deploy subgraph service script 2 for testnet
tmigone Oct 7, 2025
bb0b0d5
chore: release horizon testnet packages v1.0.0
tmigone Oct 7, 2025
a191002
fix: ensure L2Curation implementation uses the new implementation
tmigone Oct 7, 2025
3df0669
chore: release fix for subgraph service address book
tmigone Oct 7, 2025
eee08e7
chore: deploy horizon step 4 for testnet
tmigone Oct 27, 2025
5844135
Merge branch 'main' into horizon-testnet
tmigone Oct 27, 2025
121e0d6
fix: fallback empty api key if not provided in toolshed
tmigone Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions packages/address-book/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @graphprotocol/address-book

## 1.0.1

### Patch Changes

- Fix L2Curation implementation address in subgraph service address book.

## 1.0.0

### Major Changes

- Deploy horizon to testnet

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphprotocol/address-book",
"version": "0.1.0",
"version": "1.0.1",
"publishConfig": {
"access": "public"
},
Expand Down
11 changes: 11 additions & 0 deletions packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import '@nomiclabs/hardhat-waffle'
import 'hardhat-contract-sizer' // for size-contracts script
import 'solidity-coverage' // for coverage script
import 'dotenv/config'
import '@nomicfoundation/hardhat-verify'

import { HardhatUserConfig } from 'hardhat/config'

Expand Down Expand Up @@ -39,6 +40,16 @@ const config: HardhatUserConfig = {
mnemonic: DEFAULT_TEST_MNEMONIC,
},
},
arbitrumSepolia: {
chainId: 421614,
url: process.env.ARBITRUM_SEPOLIA_URL || 'https://sepolia-rollup.arbitrum.io/rpcblock',
accounts: {
mnemonic: DEFAULT_TEST_MNEMONIC,
},
},
},
etherscan: {
apiKey: process.env.ARBISCAN_API_KEY,
},
typechain: {
outDir: 'types',
Expand Down
1 change: 1 addition & 0 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@ethersproject/providers": "^5.8.0",
"@graphprotocol/common-ts": "^1.8.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-verify": "2.1.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.6",
Expand Down
7 changes: 7 additions & 0 deletions packages/hardhat-graph-protocol/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# hardhat-graph-protocol

## 0.2.6

### Patch Changes

- Updated dependencies
- @graphprotocol/[email protected]

## 0.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-graph-protocol/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hardhat-graph-protocol",
"version": "0.2.5",
"version": "0.2.6",
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/horizon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphprotocol/horizon

## 1.0.0

### Major Changes

- Deploy horizon to testnet

## 0.4.1

### Patch Changes
Expand Down
74 changes: 41 additions & 33 deletions packages/horizon/addresses.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,63 @@
{
"421614": {
"GraphPayments": {
"address": "0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5",
"proxy": "transparent",
"proxyAdmin": "0x2Bc9A9a48cf2C2F8d187C23bDEb62bC2eC045bF7",
"implementation": "0xCB13445945aE710d7B8f3e4FB4446c673C8f3b1A"
},
"PaymentsEscrow": {
"address": "0x4b5D3Da463F7E076bb7CDF5030960bf123245681",
"proxy": "transparent",
"proxyAdmin": "0x36dFE73C38e0340C8925BA6a68aE706b74340156",
"implementation": "0x36a194135E41a556ad6F4Dbad6b7F8F0e884ba1d"
},
"Controller": {
"address": "0x0750EdA3185C758247E97819074bCD217a815FaE"
"address": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695"
},
"EpochManager": {
"address": "0xAA1DeBfb7A7c0Ba85cef858B6E70cFad943Fd4A2",
"L2Curation": {
"address": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
"proxy": "graph",
"implementation": "0x450906A976dc21450A7CcD1989D26E137E605B91"
"implementation": "0xbC8F4355f346e47eef8A0DBFF4a58616ACf7DaCA"
},
"L2Curation": {
"address": "0xe135BFD9E51BbAfCeBb0141af85F0bc6DA1b3BA4",
"L2GNS": {
"address": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
"proxy": "graph",
"implementation": "0x9CCD9B656f8A558879974ef2505496eEd7Ef7210"
"implementation": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9"
},
"SubgraphNFT": {
"address": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A"
},
"RewardsManager": {
"address": "0x1AB05a65fa6D5F6a90A23693D5d40A4D927a815f",
"address": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
"proxy": "graph",
"implementation": "0x05Ca4d407ec53Ac17ce6Bb414f42663f415Dc5C3"
"implementation": "0x856843F6409a8b3A0d4aaE67313037FED02bBBFf"
},
"L2GraphTokenGateway": {
"address": "0x7284213d1cDa80C892a4388f38dA431F06343144",
"HorizonStaking": {
"address": "0x865365C425f3A593Ffe698D9c4E6707D14d51e08",
"proxy": "graph",
"implementation": "0x4dEA2d1Be05909B71F539FD32601F7bd736c28D4"
"implementation": "0x2AF6F51e119A79497C3A3FFf012B5889da489764"
},
"L2GraphToken": {
"address": "0xBBcb9a575176039C06F94d4d8337818318A26828",
"proxy": "graph",
"implementation": "0x71927f8Ff0ce294882e2A161A54F62f3b0f3c726"
"GraphTallyCollector": {
"address": "0x382863e7B662027117449bd2c49285582bbBd21B"
},
"GraphProxyAdmin": {
"address": "0x1CEBe1C314Cc454baf4bd553409d957C833623c0"
"address": "0x7474a6cc5fAeDEc620Db0fa8E4da6eD58477042C"
},
"HorizonStaking": {
"address": "0xF5D432192dAF7e8B045349693577ccF0B5165A12",
"EpochManager": {
"address": "0x88b3C7f37253bAA1A9b95feAd69bD5320585826D",
"proxy": "graph",
"implementation": "0xa9B5CD0E94eBDf5A6dBB16A01635D432AB707244"
"implementation": "0x646627fa39ec6f6E757Cb4189bC54c92FFBb71da"
},
"GraphPayments": {
"proxy": "transparent",
"proxyAdmin": "0xAcA3dd622e863E425Cdb15E8734a5CB318448db7",
"address": "0xAFd60629034fBdC3ef58518B817bBDB4EC861c93",
"implementation": "0x4756cdF556A78BD28399E833Bc5bBFc7a5bca866"
},
"PaymentsEscrow": {
"proxy": "transparent",
"proxyAdmin": "0xbB643167f03EfF532c537e3d72E56b9992CaD985",
"address": "0x70d5AFAAaEF8f2F095E83D6E6151146c18A5Bb85",
"implementation": "0xeED33B904efF05BbdcC9008F5174088DF77dD183"
"L2GraphToken": {
"address": "0xf8c05dCF59E8B28BFD5eed176C562bEbcfc7Ac04",
"proxy": "graph",
"implementation": "0x4cf968bA38b43dd10be114daa7959C1b369479e5"
},
"GraphTallyCollector": {
"address": "0xB63bC33D13F73eFD14d32D2b9FC0B6116B6611CE"
"L2GraphTokenGateway": {
"address": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
"proxy": "graph",
"implementation": "0x3C2eB5E561f70c0573E5f6c92358e988E32cb5eC"
}
}
}
48 changes: 48 additions & 0 deletions packages/horizon/ignition/configs/migrate.arbitrumSepolia.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"$global": {
// Accounts already configured in the original Graph Protocol
"governor": "0x72ee30d43Fb5A90B3FE983156C5d2fBE6F6d07B3",

// Addresses for contracts deployed in the original Graph Protocol
"graphProxyAdminAddress": "0x7474a6cc5fAeDEc620Db0fa8E4da6eD58477042C",
"controllerAddress": "0x9DB3ee191681f092607035d9BDA6e59FbEaCa695",
"horizonStakingAddress": "0x865365C425f3A593Ffe698D9c4E6707D14d51e08",
"epochManagerAddress": "0x88b3C7f37253bAA1A9b95feAd69bD5320585826D",
"epochManagerImplementationAddress": "0x646627fa39ec6f6E757Cb4189bC54c92FFBb71da",
"graphTokenAddress": "0xf8c05dCF59E8B28BFD5eed176C562bEbcfc7Ac04",
"graphTokenImplementationAddress": "0x4cf968bA38b43dd10be114daa7959C1b369479e5",
"graphTokenGatewayAddress": "0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb",
"graphTokenGatewayImplementationAddress": "0x3C2eB5E561f70c0573E5f6c92358e988E32cb5eC",
"rewardsManagerAddress": "0x1F49caE7669086c8ba53CC35d1E9f80176d67E79",
"curationAddress": "0xDe761f075200E75485F4358978FB4d1dC8644FD5",
"gnsAddress": "0x3133948342F35b8699d8F94aeE064AbB76eDe965",
"gnsImplementationAddress": "0x00CBF5024d454255577Bf2b0fB6A43328a6828c9",
"subgraphNFTAddress": "0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A",

// Must be set for step 2 of the migration
"graphPaymentsAddress": "0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5",
"paymentsEscrowAddress": "0x4b5D3Da463F7E076bb7CDF5030960bf123245681",

// Must be set for step 3 and 4 of the migration
"subgraphServiceAddress": "0xc24A3dAC5d06d771f657A48B20cE1a671B78f26b",

// Must be set for step 4 of the migration
"horizonStakingImplementationAddress": "0x2AF6F51e119A79497C3A3FFf012B5889da489764",
"curationImplementationAddress": "0xbC8F4355f346e47eef8A0DBFF4a58616ACf7DaCA",
"rewardsManagerImplementationAddress": "0x856843F6409a8b3A0d4aaE67313037FED02bBBFf",

// Global parameters
"maxThawingPeriod": 2419200
},
"GraphPayments": {
"protocolPaymentCut": 10000
},
"PaymentsEscrow": {
"withdrawEscrowThawingPeriod": 10800
},
"GraphTallyCollector": {
"eip712Name": "GraphTallyCollector",
"eip712Version": "1",
"revokeSignerThawingPeriod": 10800
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/d2c890c7c513627af1e9d08406395053.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/e9d2339ca353606ca30c37b163681162.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../build-info/4f8c368b74154ab609ff2c8fa4ab394f.json"
}
Loading