Skip to content

Latest commit

 

History

History
 
 

protos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Protos

This directory contains the protobuf definitions for all Aptos services. For the sake of simplifying release and minimizing potential version conflicts, we include all protos and code generated from those protos in one place.

Make sure to install buf, e.g. for Mac:

brew install bufbuild/buf/buf

If you see unexpected changes, make sure the version of buf you have matches the version we use in CI, see .github/workflows/check-protos.yaml.

If you update the proto definitions in proto/, you can regenerate the code for all languages based on those protos by running this script:

./scripts/build_protos.sh

If you haven't installed deps yet, run this script from this directory:

./scripts/install_deps.sh