We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent def51e6 commit 9bbee8cCopy full SHA for 9bbee8c
go/node/types/v1beta3/attribute.go
@@ -1,15 +1,13 @@
1
package v1beta3
2
3
import (
4
+ "errors"
5
"path/filepath"
6
"reflect"
7
"regexp"
8
"sort"
9
"strconv"
10
"strings"
-
11
- sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
12
- "gopkg.in/yaml.v3"
13
)
14
15
const (
@@ -24,8 +22,8 @@ const (
24
22
25
23
26
var (
27
- ErrAttributesDuplicateKeys = sdkerrors.Register(moduleName, errAttributesDuplicateKeys, "attributes cannot have duplicate keys")
28
- ErrInvalidAttributeKey = sdkerrors.Register(moduleName, errInvalidAttributeKey, "attribute key does not match regexp")
+ ErrAttributesDuplicateKeys = errors.New("attributes cannot have duplicate keys")
+ ErrInvalidAttributeKey = errors.New("attribute key does not match regexp")
29
30
31
0 commit comments