Skip to content

Commit 2a92cb0

Browse files
authored
Merge pull request #40 from balancer/expand-subgraphs
add optimism actions
2 parents ffacd3d + e03ca5b commit 2a92cb0

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

.github/workflows/deploy-v3-pools.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,14 @@ jobs:
6565
working-directory: subgraphs/v3-pools
6666
subgraph-name: balancer-pools-v3-avalanche
6767
manifest-file: subgraph.avalanche.yaml
68+
secrets:
69+
GRAPH_DEPLOY_KEY: ${{ secrets.GRAPH_DEPLOY_KEY }}
70+
71+
deploy-optimism:
72+
uses: ./.github/workflows/deploy-subgraph.yml
73+
with:
74+
working-directory: subgraphs/v3-pools
75+
subgraph-name: balancer-pools-v3-optimism
76+
manifest-file: subgraph.optimism.yaml
6877
secrets:
6978
GRAPH_DEPLOY_KEY: ${{ secrets.GRAPH_DEPLOY_KEY }}

.github/workflows/deploy-v3-vault.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,14 @@ jobs:
6565
working-directory: subgraphs/v3-vault
6666
subgraph-name: balancer-v3-avalanche
6767
manifest-file: subgraph.avalanche.yaml
68+
secrets:
69+
GRAPH_DEPLOY_KEY: ${{ secrets.GRAPH_DEPLOY_KEY }}
70+
71+
deploy-optimism:
72+
uses: ./.github/workflows/deploy-subgraph.yml
73+
with:
74+
working-directory: subgraphs/v3-vault
75+
subgraph-name: balancer-v3-optimism
76+
manifest-file: subgraph.optimism.yaml
6877
secrets:
6978
GRAPH_DEPLOY_KEY: ${{ secrets.GRAPH_DEPLOY_KEY }}

networks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,15 @@
260260
"optimism": {
261261
"Vault": {
262262
"address": "0xbA1333333333a1BA1108E8412f11850A5C319bA9",
263-
"startBlock": 133969439
263+
"startBlock": 133969430
264264
},
265265
"ProtocolFeeController": {
266266
"address": "0xCaCC7E1efEEA8BB3af6d5720d12C1876aa6EE76b",
267267
"startBlock": 133969430
268268
},
269269
"WeightedPoolFactory": {
270270
"address": "0x0f08eEf2C785AA5e7539684aF04755dEC1347b7c",
271-
"startBlock": 133969639
271+
"startBlock": 133969652
272272
},
273273
"StablePoolV2Factory": {
274274
"address": "0x268E2EE1413D768b6e2dc3F5a4ddc9Ae03d9AF42",

subgraphs/v3-pools/subgraph.optimism.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: "0x0f08eEf2C785AA5e7539684aF04755dEC1347b7c"
11-
startBlock: 133969639
11+
startBlock: 133969652
1212
mapping:
1313
kind: ethereum/events
1414
apiVersion: 0.0.7

subgraphs/v3-vault/subgraph.optimism.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: "0xbA1333333333a1BA1108E8412f11850A5C319bA9"
11-
startBlock: 133969439
11+
startBlock: 133969430
1212
mapping:
1313
kind: ethereum/events
1414
apiVersion: 0.0.7

0 commit comments

Comments
 (0)