fix: first block

This commit is contained in:
0xMochan
2024-06-04 17:05:16 -04:00
parent a55b5969c5
commit 588b5c7934
3 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@@ -1 +1 @@
substreams gui -e mainnet.eth.streamingfast.io:443 substreams.yaml map_protocol_changes --start-block 19216042 --stop-block +50 -p map_components=`python params.py`
substreams gui -e mainnet.eth.streamingfast.io:443 substreams.yaml map_protocol_changes --start-block 9554040 --stop-block +50 -p map_components=`python params.py`

View File

@@ -20,7 +20,7 @@ binaries:
modules:
- name: map_components
kind: map
initialBlock: 19216042
initialBlock: 9554040
inputs:
- params: string
- source: sf.ethereum.type.v2.Block
@@ -29,7 +29,7 @@ modules:
- name: store_component_tokens
kind: store
initialBlock: 19216042
initialBlock: 9554040
updatePolicy: set
valueType: string
inputs:
@@ -37,7 +37,7 @@ modules:
- name: map_relative_balances
kind: map
initialBlock: 19216042 # An arbitrary block that should change based on your requirements
initialBlock: 9554040 # An arbitrary block that should change based on your requirements
inputs:
- source: sf.ethereum.type.v2.Block
- store: store_component_tokens
@@ -46,7 +46,7 @@ modules:
- name: store_balances
kind: store
initialBlock: 19216042
initialBlock: 9554040
updatePolicy: add
valueType: bigint
inputs:
@@ -54,7 +54,7 @@ modules:
- name: map_protocol_changes
kind: map
initialBlock: 19216042
initialBlock: 9554040
inputs:
- source: sf.ethereum.type.v2.Block
- map: map_components