Skip to content

Commit

Permalink
chore: Remove goerli related setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomenezes committed Apr 22, 2024
1 parent 1e9b091 commit f0eda0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
12 changes: 1 addition & 11 deletions packages/pos-subgraph/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
// License for the specific language governing permissions and limitations
// under the License.

import path from "path"
import { HardhatUserConfig } from "hardhat/config"
import { HttpNetworkUserConfig } from "hardhat/types"
import path from "path"

import "@nomiclabs/hardhat-ethers"
import "hardhat-deploy"
Expand Down Expand Up @@ -50,7 +50,6 @@ const config: HardhatUserConfig = {
accounts: mnemonic ? { mnemonic } : undefined,
},
mainnet: infuraNetwork("mainnet", 1, 6283185),
goerli: infuraNetwork("goerli", 5, 6283185),
sepolia: infuraNetwork("sepolia", 11155111, 6283185),
matic_testnet: infuraNetwork("polygon-mumbai", 80001),
bsc_testnet: {
Expand Down Expand Up @@ -125,15 +124,6 @@ const config: HardhatUserConfig = {
"deployments/mainnet"
),
],
goerli: [
resolveModulePath("@cartesi/util", "deployments/goerli"),
resolveModulePath("@cartesi/token", "deployments/goerli"),
resolveModulePath("@cartesi/pos", "deployments/goerli"),
resolveModulePath(
"@cartesi/staking-pool",
"deployments/goerli"
),
],
sepolia: [
resolveModulePath("@cartesi/util", "deployments/sepolia"),
resolveModulePath("@cartesi/token", "deployments/sepolia"),
Expand Down
4 changes: 0 additions & 4 deletions packages/pos-subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@
"deploy:mainnet": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ cartesi/pos",
"deploy:chainstack:mainnet": "graph deploy --node https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_MAINNET_PRODUCTION_ID/deploy --ipfs https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_MAINNET_PRODUCTION_ID/ipfs pos-prod subgraph.yaml",
"deploy:chainstack:mainnet-preview": "graph deploy --node https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_MAINNET_PREVIEW_ID/deploy --ipfs https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_MAINNET_PREVIEW_ID/ipfs pos-preview2 subgraph.yaml",
"deploy:chainstack:goerli": "graph deploy --node https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_GOERLI_ID/deploy --ipfs https://api.graph-eu.p2pify.com/$CHAINSTACK_POS_GOERLI_ID/ipfs pos-goerli2 subgraph.goerli.yaml",
"deploy:chainstack:sepolia": "graph deploy --node https://api.graph-ams.p2pify.com/$CHAINSTACK_POS_SEPOLIA_ID/deploy --ipfs https://api.graph-ams.p2pify.com/$CHAINSTACK_POS_SEPOLIA_ID/ipfs pos-sepolia subgraph.sepolia.yaml",
"deploy:mainnet-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 cartesi/pos subgraph.yaml",
"deploy:mainnet-staging": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ cartesi/pos-staging",
"deploy:goerli": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ cartesi/pos-goerli subgraph.goerli.yaml",
"deploy:goerli-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 cartesi/pos subgraph.goerli.yaml",
"deploy:sepolia": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ cartesi/pos-sepolia subgraph.sepolia.yaml",
"deploy:sepolia-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 cartesi/pos subgraph.sepolia.yaml",
"prepare:localhost": "hardhat --network localhost subgraph --input-file subgraph.localhost.template.yaml --output-file subgraph.localhost.yaml",
"prepare:goerli": "hardhat --network goerli subgraph --input-file subgraph.testnet.template.yaml --output-file subgraph.goerli.yaml",
"prepare:sepolia": "hardhat --network sepolia subgraph --input-file subgraph.sepolia.template.yaml --output-file subgraph.sepolia.yaml",
"prepare:mainnet": "hardhat --network mainnet subgraph",
"prettier": "prettier --check **/*.ts",
Expand Down

0 comments on commit f0eda0e

Please sign in to comment.