pinax-network / firehose-antelope

Firehose implementation for Antelope
Apache License 2.0
8 stars 1 forks source link

update `sf.antelope.type.v1` => `v2` #48

Closed DenisCarriere closed 1 year ago

DenisCarriere commented 1 year ago

Using sf.antelope.type.v1.Block native source does not work with Substreams

However, the protobuf file is using sf.antelope.type.v1

https://github.com/pinax-network/firehose-antelope/blob/feature/decode_db_ops/proto/sf/antelope/type/v1/type.proto#L3-L5

Substreams

modules:
  - name: map_active_schedule
    kind: map
    inputs:
      - source: sf.antelope.type.v1.Block
    output:
      type: proto:sf.antelope.type.v2.ProducerAuthoritySchedule

Error ❌

Error: rpc error: code = Internal desc = step new irr: handler step new: execute modules: running executor "map_active_schedule": execute module: execute: execute: maps wasm call: input data for "sf.antelope.type.v1.Block": inputs module value not found

fschoell commented 1 year ago

Fixed so v1 works again. Keeping it on v1 until we do changes to the block types