Skip to content

Commit 0ab40f9

Browse files
committed
Deploy phase 2.2 prod contracts
1 parent 9e91f4f commit 0ab40f9

File tree

6 files changed

+384
-145
lines changed

6 files changed

+384
-145
lines changed

DEPLOYMENT.md

+17
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,20 @@ Some contracts require the address from previously deployed contracts. For that
107107
4. Merge this update into master, branch off and save for whatever version of the testnet is going on, and then tag this on the github repo, pointing to your branch (ex. at `testnet-phase-1` branch). This way we can always get the contract code for testnet, while continuing to do work on mainnet.
108108
5. Pull the updated package into the subgraph, and other apps that depend on the package.json.
109109
6. Send tokens to the whole team with `./cli/cli.ts transferTeamTokens --amount 10000000`
110+
111+
### Updating NPM packages and tagging on github and other testnet tasks
112+
113+
If you are deploying the testnet, remember to deploy a new GDAI and GSR, as you
114+
don't want to re-use the previous GSR.
115+
116+
```
117+
./cli/cli.ts deploy --contract GDAI
118+
./cli/cli.ts deploy --contract GSRManager --init 1000000001547125958,<GDAI_ADDR>
119+
```
120+
121+
Please remember to rename the Graph Token and GDAI symbols for the appropriate testnet or mainnet
122+
configuration.
123+
124+
Make sure to release an NPM package with the correct name for the release, as well as a github tag
125+
with the exact same name. Remember to check any manual addresses that must be added to the
126+
`addresses.json`. Make sure to deploy a new subgraph and ensure it is hooked up correctly.

0 commit comments

Comments
 (0)