According to the documentation, gogo/protobuf is no longer maintained, posing potential risks to the projects ongoing development and security. To ensure stability and maintainability, the Cosmos SDK team has decided to migrate the Protobuf dependency from gogo/protobuf to their own maintained branch cosmos/gogoproto.
Cosmos SDK Upgrading Guide - Protobuf
However, the gogo/protobuf library is still being used in the following path:
admins.go#L6
First, replace github.com/gogo/protobuf/proto with github.com/cosmos/gogoproto/proto in the admins.go file:
admins.go#L6
Then, update the go.mod file:
go.mod#L15
Since the dependency path has changed, you need to remove the old replacement directive and ensure the new dependency is correctly included.
Run Dependency Cleanup
Execute the following command to update dependencies:
