py-sdk
py-sdk copied to clipboard
Use `degit` when cloning for the proto generation instead of `go get` to guarantee the buf dependencies are populated.
Although the Golang binary can be used to grab Go files and certain protobufs using go get, this command does not exhaustively guarantee that the protobuf dependencies will be downloaded to the same level that a full clone of the repository will.
To increase the stability of builds that depend on a clone of the NibiruChain/nibiru repo, we can use npx degit to shallow clone, and build the protobufs using the same commands as the Nibiru repo.