-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use `Validators` instead of `PendingValidators` proto * CI cleanup (fmt, title, etc) * authz nested message check (recursive) * add x/POA logger * add linter settings * golangci_version=v1.55.2 * Add proto comments * rm codeowners for now * disable staking: recursive authz check * make install in root dir * params ErrMustProvideAtLeastOneAddress * validate cachedPower != 0 at a height > 1 * rm migration code * use single errorsmod * comments * keeper test: abstract core setup * msg_server test tweaks * add TestRegisterLegacyAminoCodec * comments * lint * minor touch ups * fix: `BeginBlock` (was modified to sdk.Context) * move priv msg_server funcs -> dedicated file * lint * simplify pending type to ConvertStakingToPOA * lint
- Loading branch information
1 parent
8e64622
commit 07541f7
Showing
57 changed files
with
1,808 additions
and
1,583 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
run: | ||
timeout: 10m | ||
tests: true | ||
|
||
linters: | ||
disable-all: true | ||
enable: | ||
- asciicheck | ||
- bidichk | ||
- bodyclose | ||
- decorder | ||
- dupl | ||
- dupword | ||
- errcheck | ||
- errchkjson | ||
- errname | ||
- exhaustive | ||
- exportloopref | ||
- forbidigo | ||
- gci | ||
- goconst | ||
- goconst | ||
- gocritic | ||
- gofmt | ||
- gosec | ||
- gosec | ||
- gosimple | ||
- gosmopolitan | ||
- govet | ||
- grouper | ||
- ineffassign | ||
- loggercheck | ||
- misspell | ||
- nilerr | ||
- nilnil | ||
- noctx | ||
- stylecheck | ||
- testifylint | ||
- thelper | ||
- tparallel | ||
- typecheck | ||
- unconvert | ||
- unconvert | ||
- unparam | ||
- unused | ||
- usestdlibvars | ||
- wastedassign | ||
- whitespace | ||
|
||
linters-settings: | ||
gci: | ||
custom-order: true | ||
sections: | ||
- standard # Standard section: captures all standard packages. | ||
- default # Default section: contains all imports that could not be matched to another section type. | ||
- blank # blank imports | ||
- dot # dot imports | ||
- prefix(github.com/cometbft/cometbft) | ||
- prefix(github.com/cosmos) | ||
- prefix(github.com/cosmos/cosmos-sdk) | ||
- prefix(cosmossdk.io) | ||
- prefix(github.com/strangelove-ventures/poa) | ||
gosec: | ||
excludes: | ||
- G404 | ||
|
||
issues: | ||
max-issues-per-linter: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.