v043 audit changes for types/ (#9290)

This commit is contained in:
Amaury
2021-05-17 12:57:24 +00:00
committed by GitHub
parent 589c67d841
commit 321aed823c
9 changed files with 8 additions and 10 deletions
+1 -2
View File
@@ -9,9 +9,8 @@ import (
"strings"
"sync"
yaml "gopkg.in/yaml.v2"
"github.com/hashicorp/golang-lru/simplelru"
yaml "gopkg.in/yaml.v2"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
"github.com/cosmos/cosmos-sdk/internal/conv"
+1 -1
View File
@@ -1,6 +1,6 @@
# Account
This package defines Cosmos SDK address related functions.
This package defines Cosmos SDK address-related functions.
## References
+1
View File
@@ -13,6 +13,7 @@ import (
// Len is the length of base addresses
const Len = sha256.Size
// Addressable represents any type from which we can derive an address.
type Addressable interface {
Address() []byte
}
+1 -2
View File
@@ -4,11 +4,10 @@ import (
"fmt"
"math"
db "github.com/tendermint/tm-db"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
db "github.com/tendermint/tm-db"
"github.com/cosmos/cosmos-sdk/store/types"
)
+1 -1
View File
@@ -46,7 +46,7 @@ type PageRequest struct {
// count_total is only respected when offset is used. It is ignored when key
// is set.
CountTotal bool `protobuf:"varint,4,opt,name=count_total,json=countTotal,proto3" json:"count_total,omitempty"`
// reverse is set to true indicates that, results to be returned in the descending order.
// reverse is set to true if results are to be returned in the descending order.
Reverse bool `protobuf:"varint,5,opt,name=reverse,proto3" json:"reverse,omitempty"`
}
-1
View File
@@ -6,7 +6,6 @@ import (
"testing"
"github.com/stretchr/testify/suite"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
dbm "github.com/tendermint/tm-db"