laconicd/x/bond/codec.go
Roy Crihfield 92e3a4d8f4 bump protobuf version
update protobuf usage

note:
2025/01/15 13:16:22 Message cerc.registry.v1.Record contains the reserved field name cerc.registry.v1.Record.type which conflicts with protoreflect.Message interface implementation.
This field will be suffixed with an underscore '_'.
If you can change the message field name, please do so.
In a future iteration of pulsar we may make a breaking change to this practice in order to be compliant with field naming of the original golang protobuf implementation.
2025-02-13 11:41:58 +08:00

19 lines
494 B
Go

package bond
import (
"cosmossdk.io/core/registry"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/msgservice"
)
// RegisterInterfaces registers the interfaces types with the interface registry.
func RegisterInterfaces(registry registry.InterfaceRegistrar) {
registry.RegisterImplementations((*sdk.Msg)(nil),
&MsgCreateBond{},
&MsgRefillBond{},
&MsgCancelBond{},
&MsgWithdrawBond{},
)
msgservice.RegisterMsgServiceDesc(registry, &Msg_serviceDesc)
}