Skip to content

Commit

Permalink
set basin to index prior to arb well deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
soilking committed Oct 3, 2024
1 parent 9acad17 commit d01479e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 5 additions & 3 deletions projects/subgraph-basin/manifests/arbitrum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ dataSources:
source:
address: "0xBA51AAAa8C2f911AE672e783707Ceb2dA6E97521"
abi: Aquifer
startBlock: 235608025
endBlock: 235608025
# NOTE ON BLOCK NUMBERS: in practice no wells were deployed for months following Aquifer's
# initial deployment. Therefore there is no need to start indexing from the initial block
startBlock: 261000000
endBlock: 261000000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand All @@ -33,7 +35,7 @@ dataSources:
source:
address: "0xBA51AAAa8C2f911AE672e783707Ceb2dA6E97521"
abi: Aquifer
startBlock: 235608025
startBlock: 261000000
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ export const WELL_STABLE2 = Address.fromString("0xba150052e11591D0648b17A0E60851
export const RESEED_SEASON = BigInt.fromU32(30000);
export const RESEED_BLOCK = BigInt.fromU64(585858585858);
//////
export const BASIN_BLOCK = BigInt.fromU64(235608025);
// In practice no wells were deployed for months following Aquifer's initial deployment.
// Therefore there is no need to start indexing from the initial block. The selected block
// number is arbitrary and slightly prior to the reseed.
export const BASIN_BLOCK = BigInt.fromU64(261000000);

0 comments on commit d01479e

Please sign in to comment.