New Signature interface available in the top level types package. auth.StdSignature implements such interface. User defined auth module can now define their own custom signature types. Work carried out in the context of the following issues: - #4488 - #4487
11 lines
262 B
Go
11 lines
262 B
Go
package types
|
|
|
|
import "github.com/cosmos/cosmos-sdk/codec"
|
|
|
|
// Register the sdk message type
|
|
func RegisterCodec(cdc *codec.Codec) {
|
|
cdc.RegisterInterface((*Msg)(nil), nil)
|
|
cdc.RegisterInterface((*Tx)(nil), nil)
|
|
cdc.RegisterInterface((*Signature)(nil), nil)
|
|
}
|