From f7936c647761a57f94894aa42b01a740ec1bfdeb Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Sat, 14 Sep 2024 11:06:50 -0400 Subject: [PATCH] Fix indexer starting block --- indexer/prod-script.js | 2 +- infra/art-peace-infra/Chart.yaml | 2 +- infra/art-peace-infra/values.yaml | 4 ++-- infra/instructions/helm-deploy-steps.txt | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/indexer/prod-script.js b/indexer/prod-script.js index 41a66c06..96187c2d 100644 --- a/indexer/prod-script.js +++ b/indexer/prod-script.js @@ -1,6 +1,6 @@ export const config = { streamUrl: Deno.env.get("APIBARA_STREAM_URL"), - startingBlock: 650_000, + startingBlock: 100_000, network: "starknet", finality: "DATA_STATUS_PENDING", filter: { diff --git a/infra/art-peace-infra/Chart.yaml b/infra/art-peace-infra/Chart.yaml index cb715474..bbc34e8c 100644 --- a/infra/art-peace-infra/Chart.yaml +++ b/infra/art-peace-infra/Chart.yaml @@ -4,4 +4,4 @@ description: Helm charts for the art/peace infrastructure type: application version: 0.1.0 -appVersion: "v1.1.0" +appVersion: "v1.1.1" diff --git a/infra/art-peace-infra/values.yaml b/infra/art-peace-infra/values.yaml index e87d6d14..91765f7f 100644 --- a/infra/art-peace-infra/values.yaml +++ b/infra/art-peace-infra/values.yaml @@ -73,8 +73,8 @@ postgres: password: ArtPeacePassword1234 apibara: - streamUrl: https://mainnet.starknet.a5a.ch - # streamUrl: https://sepolia.starknet.a5a.ch + #streamUrl: https://mainnet.starknet.a5a.ch + streamUrl: https://sepolia.starknet.a5a.ch indexerId: art-peace-indexer-id authToken: dna_aabbcc diff --git a/infra/instructions/helm-deploy-steps.txt b/infra/instructions/helm-deploy-steps.txt index 73405569..4eebc0cc 100644 --- a/infra/instructions/helm-deploy-steps.txt +++ b/infra/instructions/helm-deploy-steps.txt @@ -22,6 +22,7 @@ deploy quests ./tests/integration/sepolia/deploy_quests.sh setup nft contract +setup indexer starting block setup factions vim ./tests/integration/sepolia/setup_factions.sh change art-peace contract