Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 792 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 792 Bytes

Substreams Database Change

Developer preview

substreams-dataabse crate contains all the definitions for the database changes which can be emitted by a substream.

Install protoc

To be able to build proto files manually using the command line, you have to have protoc installed on your machine. Visit here to install.

For Linux, using apt

apt install -y protobuf-compiler
protoc --version  # Ensure compiler version is 3+

For macOS, using Homebrew

brew install protobuf
protoc --version  # Ensure compiler version is 3+

Instead of having a build.rs file which will build the proto automatically on every cargo build --release you have to build the proto files manually.

Simply run ./gen/generate.sh