Skip to content

Commit 53342dc

Browse files
committed
feat: add deployment test boilerplate and one example
Signed-off-by: Tomás Migone <[email protected]>
1 parent d59a784 commit 53342dc

File tree

42 files changed

+19267
-3
lines changed

Some content is hidden

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

42 files changed

+19267
-3
lines changed

packages/horizon/README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,9 @@ npx hardhat deploy:migrate --network hardhat --step 3 # Optionally add --patch-c
4949
npx hardhat deploy:migrate --network hardhat --step 4 # Run with governor. Optionally add --patch-config
5050
```
5151

52-
Steps 2, 3 and 4 require patching the configuration file with addresses from previous steps. The files are located in the `ignition/configs` directory and need to be manually edited. You can also pass `--patch-config` flag to the deploy command to automatically patch the configuration reading values from the address book. Note that this will NOT update the configuration file.
52+
Steps 2, 3 and 4 require patching the configuration file with addresses from previous steps. The files are located in the `ignition/configs` directory and need to be manually edited. You can also pass `--patch-config` flag to the deploy command to automatically patch the configuration reading values from the address book. Note that this will NOT update the configuration file.
53+
54+
## Testing
55+
56+
- Unit tests can be run with `yarn test`
57+
- Deployment tests can be run with `yarn test:deployment --network <network>`

packages/horizon/addresses.json

+53-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
1-
{}
1+
{
2+
"421614": {
3+
"Controller": {
4+
"address": "0x7BA16C15f31def108B9DE838FEFC0064Db41DE34"
5+
},
6+
"EpochManager": {
7+
"address": "0x4610509a8060FdC65A004108A13b35BdB76a925f",
8+
"proxy": "graph",
9+
"implementation": "0x3D5A0750876CF7Ef60c197384bA51274BE8462b0"
10+
},
11+
"L2Curation": {
12+
"address": "0x7de78C8A177bE8A44434881eA62FD639847Fdb92",
13+
"proxy": "graph",
14+
"implementation": "0x5086DD0968bf365f509C353F9F9fB46f1Eca1b58"
15+
},
16+
"RewardsManager": {
17+
"address": "0xF04B3aA4A86833a88330886B792a348Ee05A0bdb",
18+
"proxy": "graph",
19+
"implementation": "0xFD2F3cE172F98BC6e8c9d2C715DdbfC362D4F90b"
20+
},
21+
"L2GraphTokenGateway": {
22+
"address": "0xCb1F644a3Ee5eC23C995Fe5F770355488ae8fF05",
23+
"proxy": "graph",
24+
"implementation": "0x5F9190a5C2963FBae4096c7243222aaE1fe7692C"
25+
},
26+
"L2GraphToken": {
27+
"address": "0xFFaf14e94CBAebF8e48bb7001e0955233aBD1671",
28+
"proxy": "graph",
29+
"implementation": "0x62B40CD8a5bcFb76Edd47216b73e91C4Bd05b0Ae"
30+
},
31+
"GraphProxyAdmin": {
32+
"address": "0x60f5AD8Fd442A4e7420A9A4cdC6B2ad6225cADd1"
33+
},
34+
"HorizonStaking": {
35+
"address": "0x0ca984579d67C8a69e5612DAd4b09Ba2ab0ab163",
36+
"proxy": "graph",
37+
"implementation": "0xC1515C8E03A04aCC65624bc9Fb9B97aF87F018FE"
38+
},
39+
"GraphPayments": {
40+
"address": "0xFaAA95dfd5ed6e0A85235c37161070637315106e",
41+
"proxy": "transparent",
42+
"implementation": "0xfdfB7a510F81a020781A7110fd3b52c9c67C00BA"
43+
},
44+
"PaymentsEscrow": {
45+
"address": "0x1F4F20A6ECAA394F6980311f7125C709964d6018",
46+
"proxy": "transparent",
47+
"implementation": "0xb3e190392d0c39AbF640e368714baa7E54e29f1D"
48+
},
49+
"GraphTallyCollector": {
50+
"address": "0x412823c630CBFC5fF73e6A2a4429C641D5bA711e"
51+
}
52+
}
53+
}

0 commit comments

Comments
 (0)