Skip to content

Commit

Permalink
chore: fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnabarhorse committed Oct 11, 2024
1 parent c5acff4 commit 1109075
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 318 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-alchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ jobs:
- name: Install Dependencies
run: yarn --frozen-lockfile

- name: Codegen
run: yarn codegen:${{ steps.extract-network.outputs.NETWORK }}

- name: Prepare
run: yarn prepare:${{ steps.extract-network.outputs.NETWORK }}

- name: Codegen
run: yarn codegen

- name: Build
run: yarn build:${{ steps.extract-network.outputs.NETWORK }}
run: yarn build

- name: Deploy to Alchemy
env:
Expand Down
8 changes: 6 additions & 2 deletions config/matic.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"network": "polygon",
"address": "0x1d0360bac7299c86ec8e99d0c1c9a95fefaf2a11",
"startBlock": 20667840
"realmDiamondAddress": "0x1d0360bac7299c86ec8e99d0c1c9a95fefaf2a11",
"realmStartBlock": 20667840,
"tileDiamondAddress": "0x9216c31d8146bCB3eA5a9162Dc1702e8AEDCa355",
"tileStartBlock": 27231106,
"installationDiamondAddress": "0x19f870bD94A34b3adAa9CaA439d333DA18d6812A",
"installationStartBlock": 26540482
}
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"scripts": {
"codegen": "graph codegen",
"build": "graph build",
"build:polter": "graph build subgraph-polter.yaml",
"build:geist": "graph build subgraph-geist.yaml",
"build:amoy": "graph build subgraph-amoy.yaml",
"build:matic": "graph build subgraph-matic.yaml",
"deploy": "dotenv -e .env graph deploy gotchiverse-subgraph --version-label $VERSION_LABEL --node https://subgraphs.alchemy.com/api/subgraphs/deploy --deploy-key $DEPLOY_KEY --ipfs https://ipfs.satsuma.xyz",
"prepare:polygon": "mustache config/polygon.json subgraph.template.yaml > subgraph.yaml",
"prepare:amoy": "mustache config/amoy.json subgraph.template.yaml > subgraph.yaml",
Expand Down
154 changes: 0 additions & 154 deletions subgraph-amoy.yaml

This file was deleted.

154 changes: 0 additions & 154 deletions subgraph-matic.yaml

This file was deleted.

0 comments on commit 1109075

Please sign in to comment.