Skip to content

Commit

Permalink
add networks to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
YaroShkvorets committed Feb 25, 2024
1 parent 5e6b0c4 commit 9a0eee9
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
7 changes: 7 additions & 0 deletions substreams/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ tasks:
cmds:
- substreams-sink-kv inject $ENDPOINT badger3://./blobs.db substreams.yaml --server-listen-addr=:8000 --plaintext

sink:serve:
desc: "Serve sunk data from KV store"
deps:
- build
cmds:
- substreams-sink-kv serve badger3://./blobs.db substreams.yaml --listen-addr=:8000

25 changes: 22 additions & 3 deletions substreams/substreams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ binaries:

modules:
- name: map_blobs
initialBlock: 7677000
initialBlock: 7413760
kind: map
inputs:
- source: sf.beacon.type.v1.Block
output:
type: proto:eth.blobs.v1.Blobs

- name: kv_out
initialBlock: 7677000
initialBlock: 7413760
kind: map
inputs:
- map: map_blobs
Expand All @@ -40,4 +40,23 @@ sink:
type: sf.substreams.sink.kv.v1.GenericService
config:

network: mainnet-cl
network: goerli-cl

# networks:
# goerli-cl:
# initialBlock:
# map_blobs: 7413760
# kv_out: 7413760
# sepolia-cl:
# initialBlock:
# map_blobs: 4243456
# kv_out: 4243456
# holesky-cl:
# initialBlock:
# map_blobs: 950272
# kv_out: 950272
# mainnet-cl:
# initialBlock:
# map_blobs: 8626176
# kv_out: 8626176

0 comments on commit 9a0eee9

Please sign in to comment.