fix: correct spelling inconsistencies throughout the codebase (#24963)
This commit is contained in:
@@ -22,7 +22,7 @@ func createTestCodec() *codec.LegacyAmino {
|
||||
return cdc
|
||||
}
|
||||
|
||||
func TestAminoMarsharlInterface(t *testing.T) {
|
||||
func TestAminoMarshalInterface(t *testing.T) {
|
||||
cdc := codec.NewAminoCodec(createTestCodec())
|
||||
m := interfaceMarshaler{cdc.MarshalInterface, cdc.UnmarshalInterface}
|
||||
testInterfaceMarshaling(require.New(t), m, true)
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
type (
|
||||
// Codec defines a functionality for serializing other objects.
|
||||
// Users can defin a custom Protobuf-based serialization.
|
||||
// Users can define a custom Protobuf-based serialization.
|
||||
// Note, Amino can still be used without any dependency on Protobuf.
|
||||
// SDK provides to Codec implementations:
|
||||
//
|
||||
|
||||
@@ -36,7 +36,7 @@ func createTestInterfaceRegistry() types.InterfaceRegistry {
|
||||
return interfaceRegistry
|
||||
}
|
||||
|
||||
func TestProtoMarsharlInterface(t *testing.T) {
|
||||
func TestProtoMarshalInterface(t *testing.T) {
|
||||
cdc := codec.NewProtoCodec(createTestInterfaceRegistry())
|
||||
m := interfaceMarshaler{cdc.MarshalInterface, cdc.UnmarshalInterface}
|
||||
testInterfaceMarshaling(require.New(t), m, false)
|
||||
|
||||
Reference in New Issue
Block a user