As of https://github.com/penumbra-zone/galileo/pull/99, we're using vendored proto definitions from the Penumbra monorepo. The initial inclusion of proto defs copied them over from the Penumbra repo. Instead, we should be using the buf-tooling to fetch the info that we need. We also don't need all those protos, like tendermint, ibc, etc. It should be enough to fetch-and-then-vendor only the specific proto defs that we need.
One way to do this is to fetch via buf export and then rm -rf <dir> and dirs we don't care about. See similar logic in:
We could also wire up CI to publish the Galileo protos, but I don't think that's necessary, and would prefer to avoid it until it's must-do for some reason.
As of https://github.com/penumbra-zone/galileo/pull/99, we're using vendored proto definitions from the Penumbra monorepo. The initial inclusion of proto defs copied them over from the Penumbra repo. Instead, we should be using the buf-tooling to fetch the info that we need. We also don't need all those protos, like tendermint, ibc, etc. It should be enough to fetch-and-then-vendor only the specific proto defs that we need.
One way to do this is to fetch via
buf export
and thenrm -rf <dir>
and dirs we don't care about. See similar logic in:We could also wire up CI to publish the Galileo protos, but I don't think that's necessary, and would prefer to avoid it until it's must-do for some reason.