Skip to content

Add tax2gas module and move all handle fees logic to tax2gas module #1122

Add tax2gas module and move all handle fees logic to tax2gas module

Add tax2gas module and move all handle fees logic to tax2gas module #1122

Triggered via pull request July 17, 2024 05:42
Status Failure
Total duration 41s
Artifacts

lint.yml

on: pull_request
golangci-lint
31s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
golangci-lint: x/tax2gas/types/expected_keeper.go#L4
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/types/expected_keeper.go#L6
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/utils/fee_tax.go#L126
ifElseChain: rewrite if-else to switch statement (gocritic)
golangci-lint: x/tax2gas/ante/fee_test.go#L14
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/ante/fee_test.go#L181
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/utils/fee_tax.go#L127
unnecessary conversion (unconvert)
golangci-lint: x/tax2gas/utils/fee_tax.go#L121
ST1023: should omit type sdkmath.Int from declaration; it will be inferred from the right-hand side (stylecheck)
golangci-lint: x/tax2gas/utils/fee_tax.go#L124
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
golangci-lint: custom/auth/post/post.go#L8
ST1019: package "github.com/classic-terra/core/v3/x/tax2gas/types" is being imported more than once (stylecheck)
golangci-lint: custom/auth/post/post.go#L9
ST1019(related information): other import of "github.com/classic-terra/core/v3/x/tax2gas/types" (stylecheck)
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/core/core. Supported file pattern: go.sum
golangci-lint: x/tax2gas/ante/ante.go#L196
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci-lint: app/upgrades/v8_1/upgrades.go#L1
var-naming: don't use an underscore in package name (revive)
golangci-lint: app/upgrades/v8_1/constants.go#L1
var-naming: don't use an underscore in package name (revive)