Skip to content

Commit

Permalink
Subgraph: mainnet settings (#745)
Browse files Browse the repository at this point in the history
* Subgraph: mainnet settings

* Update block
  • Loading branch information
bpierre authored Jan 22, 2025
1 parent 9fdb9b6 commit c15c74b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions subgraph/cli/deploy-subgraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,9 @@ export async function main() {
options.network ??= "sepolia";
}

if (networkPreset === "liquity-testnet") {
// TODO: implement
}

if (networkPreset === "mainnet") {
// TODO: implement
options.name ??= "liquity2-mainnet";
options.network ??= "mainnet";
}

if (!options.name) {
Expand Down
8 changes: 4 additions & 4 deletions subgraph/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
},
"mainnet": {
"BoldToken": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 0
"address": "0xb01dd87b29d187f3e3a4bf6cdaebfb97f3d9ab98",
"startBlock": 21640111
},
"Governance": {
"address": "0x0000000000000000000000000000000000000000",
"startBlock": 0
"address": "0x636deb767cd7d0f15ca4ab8ea9a9b26e98b426ac",
"startBlock": 21640111
}
},
"sepolia": {
Expand Down

0 comments on commit c15c74b

Please sign in to comment.