Skip to content

Commit

Permalink
refactor: disable mainnet contracts in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrosaturnino committed Oct 17, 2023
1 parent 2451847 commit 7b41372
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 57 deletions.
28 changes: 0 additions & 28 deletions packages/lib-ethers/deployments/default/eth/v1/mainnet.json

This file was deleted.

28 changes: 0 additions & 28 deletions packages/lib-ethers/deployments/default/tbtc/v1/mainnet.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/subgraph/subgraph.yaml.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require("fs");

const network = process.argv[2] || "mainnet";
const { addresses, startBlock } = require(`@liquity/lib-ethers/deployments/default/tbtc/v1/${network}.json`);
const { addresses, startBlock } = require(`@liquity/lib-ethers/deployments/${network}.json`);

console.log(`Preparing subgraph manifest for network "${network}"`);

Expand Down

0 comments on commit 7b41372

Please sign in to comment.