Skip to content

Commit

Permalink
Update initialBlock to 12965000
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwhisperer committed Jul 11, 2023
1 parent ebde879 commit 93f70f3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ENDPOINT ?= mainnet.eth.streamingfast.io:443
POSTGRESQL_DSN ?= psql://daniel:toor@localhost:5432/protofun?sslmode=disable

START_BLOCK ?= 17660000
START_BLOCK ?= 12965000
STOP_BLOCK ?= +5
# START_BLOCK ?= 12964995
# STOP_BLOCK ?= 12965005
Expand Down Expand Up @@ -64,7 +64,7 @@ remove-graph-node:
deploy-graph: package
graph build --ipfs $(IPFS_ENDPOINT) subgraph.yaml
graph create protofun_block_meta --node $(GRAPH_NODE_ENDPOINT)
graph deploy --node $(GRAPH_NODE_ENDPOINT) --ipfs $(IPFS_ENDPOINT) --version-label v0.2.0 protofun_block_meta subgraph.yaml
graph deploy --node $(GRAPH_NODE_ENDPOINT) --ipfs $(IPFS_ENDPOINT) --version-label v0.2.1 protofun_block_meta subgraph.yaml

.PHONE: undeploy-graph
undeploy-graph:
Expand Down
36 changes: 18 additions & 18 deletions substreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ modules:
- name: map_block
kind: map
# Important: to avoid back-processing
initialBlock: 17660000
initialBlock: 12965000
inputs:
- source: sf.ethereum.type.v2.Block
output:
Expand All @@ -32,7 +32,7 @@ modules:

- name: graph_out
kind: map
initialBlock: 17660000
initialBlock: 12965000
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_base_fee_per_gas_minute_open
Expand All @@ -56,127 +56,127 @@ modules:

- name: store_base_fee_per_gas_minute_open
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set_if_not_exists
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_minute_high
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: max
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_minute_low
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: min
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_minute_close
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_hour_open
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set_if_not_exists
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_hour_high
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: max
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_hour_low
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: min
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_hour_close
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_day_open
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set_if_not_exists
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_day_high
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: max
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_day_low
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: min
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_day_close
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_week_open
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set_if_not_exists
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_week_high
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: max
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_week_low
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: min
valueType: bigint
inputs:
- map: map_block

- name: store_base_fee_per_gas_week_close
kind: store
initialBlock: 17660000
initialBlock: 12965000
updatePolicy: set
valueType: bigint
inputs:
Expand Down

0 comments on commit 93f70f3

Please sign in to comment.