Skip to content

Commit

Permalink
Replaced xdai terms with gnosis in deployment files names and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Jan 12, 2023
1 parent 627984e commit 1339f33
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/graph-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
graph_account: giveth
graph_config_file: subgraph.deployment-7-goerli.yaml

deploy-staging-xdai:
deploy-staging-gnosis:
needs: lint
runs-on: ubuntu-latest
steps:
Expand All @@ -56,4 +56,4 @@ jobs:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: giveth-economy-xdai-staging
graph_account: giveth
graph_config_file: subgraph.deployment-7-xdai.yaml
graph_config_file: subgraph.deployment-7-gnosis.yaml
4 changes: 2 additions & 2 deletions .github/workflows/graph-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
graph_account: giveth
graph_config_file: subgraph.production-mainnet.yaml

deploy-xdai:
deploy-gnosis:
needs: lint
runs-on: ubuntu-latest
steps:
Expand All @@ -56,4 +56,4 @@ jobs:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: giveth-economy-second-xdai
graph_account: giveth
graph_config_file: subgraph.production-xdai.yaml
graph_config_file: subgraph.production-gnosis.yaml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ yarn deploy:goerli:develop
**For gnosis**

```bash
yarn deploy:xdai:production
yarn deploy:gnosis:production
```
6 changes: 3 additions & 3 deletions networks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ model:
address: '0x0000000000000000000000000000000000000000'
startBlock: 9999999999999

deployment-6-xdai:
deployment-6-gnosis:
network: gnosis
GIVPower:
address: '0x898Baa558A401e59Cb2aA77bb8b2D89978Cf506F'
Expand Down Expand Up @@ -111,7 +111,7 @@ deployment-6-kovan:
address: '0x02653cae0cad6b3cd73e7dbc4f7a3ce6693c3ed7'
startBlock: 28895593

deployment-7-xdai:
deployment-7-gnosis:
network: gnosis

GIVPower:
Expand Down Expand Up @@ -293,7 +293,7 @@ production-mainnet:
address: '0x3115e5aAa3D6f742d09fbB649150dfE285a9c2A3'
startBlock: 13862852

production-xdai:
production-gnosis:
network: gnosis

GIVPower:
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
"auth": "graph auth https://api.thegraph.com/deploy/",
"lint": "eslint ./src",
"deploy:mateo": "yarn generate-manifests && graph deploy --product hosted-service mateodaza/givpower-subgraph subgraph.deployment-7.yaml",
"deploy:xdai:deployment-6:amin": "yarn generate-manifests && graph deploy --product hosted-service aminlatifi/givpower-deployment-six subgraph.deployment-6-xdai.yaml",
"deploy:gnosis:deployment-6:amin": "yarn generate-manifests && graph deploy --product hosted-service aminlatifi/givpower-deployment-six subgraph.deployment-6-gnosis.yaml",
"deploy:kovan:deployment-6:amin": "yarn generate-manifests && graph deploy --product hosted-service aminlatifi/givpower-deployment-six-kovan subgraph.deployment-6-kovan.yaml",
"deploy:deployment-7": "yarn generate-manifests && graph deploy --product hosted-service mateodaza/givpower-subgraph subgraph.deployment-7.yaml",
"deploy:xdai:deployment-7": "yarn generate-manifests && graph deploy --product hosted-service aminlatifi/giveconomy-xdai-deployment-seven subgraph.deployment-7-xdai.yaml",
"deploy:xdai:develop": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-xdai-staging subgraph.deployment-7-xdai.yaml",
"deploy:gnosis:deployment-7": "yarn generate-manifests && graph deploy --product hosted-service aminlatifi/giveconomy-xdai-deployment-seven subgraph.deployment-7-gnosis.yaml",
"deploy:gnosis:develop": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-xdai-staging subgraph.deployment-7-gnosis.yaml",
"deploy:kovan:develop": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-kovan-staging subgraph.deployment-7-kovan.yaml",
"deploy:kovan:deployment-7:mohammad": "yarn generate-manifests && graph deploy --product hosted-service mohammadranjbarz/giv-economy-kovan subgraph.deployment-7-kovan.yaml",
"deploy:goerli:develop": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-goerli-staging subgraph.deployment-7-goerli.yaml",
"deploy:xdai:production": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-xdai subgraph.production-xdai.yaml",
"deploy:xdai:production-mateo": "yarn generate-manifests && graph deploy --product hosted-service mateodaza/giveth-economy-second-xdai subgraph.production-xdai.yaml",
"deploy:gnosis:production": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-xdai subgraph.production-gnosis.yaml",
"deploy:gnosis:production-mateo": "yarn generate-manifests && graph deploy --product hosted-service mateodaza/giveth-economy-second-xdai subgraph.production-gnosis.yaml",
"deploy:mainnet:production": "yarn generate-manifests && graph deploy --product hosted-service giveth/giveth-economy-second-mainnet subgraph.production-mainnet.yaml",
"deploy:mainnet:production-mateo": "yarn generate-manifests && graph deploy --product hosted-service mateodaza/giveth-economy-second-mainnet subgraph.production-mainnet.yaml",
"deploy:mainnet": "yarn deploy ORGANISATION/SUBGRAPH",
"codegen:deployment-6": "yarn generate-manifests && graph codegen subgraph.deployment-6.yaml --output-dir src/types/",
"codegen:deployment-7": "yarn generate-manifests && graph codegen subgraph.deployment-7-xdai.yaml --output-dir src/types/",
"codegen:deployment-7": "yarn generate-manifests && graph codegen subgraph.deployment-7-gnosis.yaml --output-dir src/types/",
"build:deployment-6": "yarn generate-manifests && graph build subgraph.deployment-6.yaml",
"build:deployment-7": "yarn generate-manifests && graph build subgraph.deployment-7.yaml",
"build:deployment-mainnet": "yarn generate-manifests && graph build subgraph.production-mainnet.yaml",
Expand Down

0 comments on commit 1339f33

Please sign in to comment.