Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
326 stars 206 forks source link

Switch third-party proto import and codegen to use buf tool #9018

Open JimLarson opened 7 months ago

JimLarson commented 7 months ago

What is the Problem Being Solved?

In the 0.47 cosmos-sdk release, they made a number of changes in proto-handling. There is greater reliance on using the buf tool for managing proto dependencies instead of maintaining a third_party proto directory. They have taken over support of the gogoproto suite and now use their own version explicitly. There is also a custom code generator for handling the extensions in the Pulsar system for managing collections in the store.

We will inherit all of these changes in our Interchain stack dependencies. We have a choice of what we'd like to do for our own proto compilation in agoric-sdk.

The task here is to examine the changes in 0.47 and confer with @turadg to see what's reasonable for the cosmic-proto package and friends.

Description of the Design

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

JimLarson commented 6 months ago

See also #9181