Skip to content

Commit b28e0a8

Browse files
committed
Cleanup
1 parent 46e9515 commit b28e0a8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

benchmarks/bench_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414

1515
"github.com/cosmos/cosmos-sdk/codec"
1616
"github.com/cosmos/cosmos-sdk/codec/address"
17-
"github.com/cosmos/cosmos-sdk/codec/types"
1817
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
1918
"github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1"
2019
"github.com/cosmos/cosmos-sdk/std"
@@ -128,7 +127,7 @@ func BenchmarkTxSending(b *testing.B) {
128127
}
129128

130129
func BenchmarkUnpackAny(b *testing.B) {
131-
interfaceRegistry, err := types.NewInterfaceRegistryWithOptions(types.InterfaceRegistryOptions{
130+
interfaceRegistry, err := codectypes.NewInterfaceRegistryWithOptions(codectypes.InterfaceRegistryOptions{
132131
ProtoFiles: proto.HybridResolver,
133132
SigningOptions: signing.Options{
134133
AddressCodec: address.Bech32Codec{
@@ -168,7 +167,7 @@ func BenchmarkUnpackAny(b *testing.B) {
168167
}{
169168
"garbage any": {
170169
msg: &codectypes.Any{
171-
TypeUrl: "aslasdf", // TODO: use a real type URL
170+
TypeUrl: "aslasdf",
172171
Value: []byte("oiuwurjtlwerlwmt032498u50j3oehr943q;l348u58q=-afvu89 290i32-1[1]"),
173172
},
174173
expErr: true,

0 commit comments

Comments
 (0)