Skip to content

Commit 4fe139a

Browse files
authored
Merge pull request #35 from balancer/deploy-avax
fix deploy gh action
2 parents f8ffba1 + 428a813 commit 4fe139a

File tree

4 files changed

+6
-16
lines changed

4 files changed

+6
-16
lines changed

.github/workflows/deploy-subgraph.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ on:
1515
secrets:
1616
GRAPH_DEPLOY_KEY:
1717
required: true
18-
outputs:
19-
deployment_id:
20-
value: ${{ jobs.deploy.outputs.deployment_id }}
2118

2219
jobs:
2320
deploy:
@@ -53,7 +50,7 @@ jobs:
5350
- name: Graph Codegen
5451
id: graph-codegen
5552
working-directory: ${{ inputs.working-directory }}
56-
run: pnpm codegen ${{ inputs.manifest-file }}
53+
run: pnpm codegen subgraph.sepolia.yaml
5754

5855
- name: Graph Build
5956
id: graph-build
@@ -68,11 +65,4 @@ jobs:
6865
--deploy-key ${{ secrets.GRAPH_DEPLOY_KEY }} \
6966
${{ inputs.subgraph-name }} \
7067
${{ inputs.manifest-file }} \
71-
--version-label ${GITHUB_SHA::8} > deployment.log 2>&1
72-
73-
- name: Deployment ID
74-
id: extract-id
75-
working-directory: ${{ inputs.working-directory }}
76-
run: |
77-
DEPLOY_ID=$(grep "Build completed:" deployment.log | awk '{print $3}')
78-
echo "deployment_id=${DEPLOY_ID}" >> $GITHUB_OUTPUT
68+
--version-label ${GITHUB_SHA::8} > deployment.log 2>&1

networks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,15 @@
187187
"avalanche": {
188188
"Vault": {
189189
"address": "0xba1333333333cbcdB5D83c2e5d1D898E07eD00Dc",
190-
"startBlock": 59388625
190+
"startBlock": 59388624
191191
},
192192
"ProtocolFeeController": {
193193
"address": "0x8de13A85136982F7a0F9E6836e98803de138fb88",
194194
"startBlock": 59388449
195195
},
196196
"WeightedPoolFactory": {
197197
"address": "0x7Ba29fE8E83dd6097A7298075C4AFfdBda3121cC",
198-
"startBlock": 59394296
198+
"startBlock": 59394295
199199
},
200200
"StablePoolV2Factory": {
201201
"address": "0x1702067424096F07A60e62cceE3dE9420068492D",

subgraphs/v3-pools/subgraph.avalanche.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dataSources:
88
source:
99
abi: BasePoolFactory
1010
address: "0x7Ba29fE8E83dd6097A7298075C4AFfdBda3121cC"
11-
startBlock: 59394296
11+
startBlock: 59394295
1212
mapping:
1313
kind: ethereum/events
1414
apiVersion: 0.0.7

subgraphs/v3-vault/subgraph.avalanche.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dataSources:
88
source:
99
abi: Vault
1010
address: "0xba1333333333cbcdB5D83c2e5d1D898E07eD00Dc"
11-
startBlock: 59388625
11+
startBlock: 59388624
1212
mapping:
1313
kind: ethereum/events
1414
apiVersion: 0.0.7

0 commit comments

Comments
 (0)