File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import (
14
14
15
15
"github.com/cosmos/cosmos-sdk/codec"
16
16
"github.com/cosmos/cosmos-sdk/codec/address"
17
- "github.com/cosmos/cosmos-sdk/codec/types"
18
17
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
19
18
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
20
19
"github.com/cosmos/cosmos-sdk/std"
@@ -128,7 +127,7 @@ func BenchmarkTxSending(b *testing.B) {
128
127
}
129
128
130
129
func BenchmarkUnpackAny (b * testing.B ) {
131
- interfaceRegistry , err := types .NewInterfaceRegistryWithOptions (types .InterfaceRegistryOptions {
130
+ interfaceRegistry , err := codectypes .NewInterfaceRegistryWithOptions (codectypes .InterfaceRegistryOptions {
132
131
ProtoFiles : proto .HybridResolver ,
133
132
SigningOptions : signing.Options {
134
133
AddressCodec : address.Bech32Codec {
@@ -168,7 +167,7 @@ func BenchmarkUnpackAny(b *testing.B) {
168
167
}{
169
168
"garbage any" : {
170
169
msg : & codectypes.Any {
171
- TypeUrl : "aslasdf" , // TODO: use a real type URL
170
+ TypeUrl : "aslasdf" ,
172
171
Value : []byte ("oiuwurjtlwerlwmt032498u50j3oehr943q;l348u58q=-afvu89 290i32-1[1]" ),
173
172
},
174
173
expErr : true ,
You can’t perform that action at this time.
0 commit comments