Categorygithub.com/figment-networks/tendermint-protobuf-def

# Packages

No description provided by the author

# README

tendermint-protobuf-def

This repository contains Protobuf definitions for the Tendermint Firehose integration.

The GitHub workflow depends on protoc v3.20.0 and protoc-gen-go v1.27.1.

https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.0

go install google.golang.org/protobuf/cmd/[email protected]

proto file destination

Those 2 file are used to generate go binding

  • fig/tendermint/codec/v1/codec.proto
  • fig/tendermint/transform/v1/transform.proto This file is used to generate tendermint.ts in graph-ts and is copied to graph-node/chain/tendermint/proto/codec.proto
  • graph-ts/chain/tendermint.proto

The file in graph-ts are copied to graph-ts/chain/tendermint/proto/src/

  • graph-ts/chain/tendermint/proto/src/annotations.proto
  • graph-ts/chain/tendermint/proto/src/cosmos.v1.proto
  • graph-ts/chain/tendermint/proto/src/gogo.proto
  • graph-ts/chain/tendermint/proto/src/liquidity.v1.proto
  • graph-ts/chain/tendermint/proto/src/openapiv2.proto
  • graph-ts/chain/tendermint/proto/src/t.v1.proto

Generating code

To generate Go bindings for the Protobuf definitions, execute:

make generate

Protobuf formatting

make format