chore(all)!: use gogoproto/any instead of codec/types/any (#21013)
This commit is contained in:
+2
-1
@@ -2,6 +2,7 @@ package codec
|
||||
|
||||
import (
|
||||
"github.com/cosmos/gogoproto/proto"
|
||||
gogoprotoany "github.com/cosmos/gogoproto/types/any"
|
||||
"google.golang.org/grpc/encoding"
|
||||
"google.golang.org/protobuf/reflect/protoreflect"
|
||||
|
||||
@@ -76,7 +77,7 @@ type (
|
||||
// is not registered in codec, or is not compatible with the serialized data
|
||||
UnmarshalInterface(bz []byte, ptr interface{}) error
|
||||
|
||||
types.AnyUnpacker
|
||||
gogoprotoany.AnyUnpacker
|
||||
}
|
||||
|
||||
JSONCodec interface {
|
||||
|
||||
Reference in New Issue
Block a user