Add tax2gas module and move all handle fees logic to tax2gas module #1117
Annotations
10 errors and 4 warnings
x/tax2gas/types/expected_keeper.go#L4
File is not `gofumpt`-ed (gofumpt)
|
x/tax2gas/types/expected_keeper.go#L6
File is not `gofumpt`-ed (gofumpt)
|
x/tax2gas/utils/fee_tax.go#L126
ifElseChain: rewrite if-else to switch statement (gocritic)
|
x/tax2gas/post/post.go#L85
File is not `gofumpt`-ed (gofumpt)
|
x/tax2gas/ante/fee_test.go#L82
File is not `gofumpt`-ed (gofumpt)
|
x/tax2gas/utils/fee_tax.go#L127
unnecessary conversion (unconvert)
|
custom/auth/post/post.go#L8
ST1019: package "github.com/classic-terra/core/v3/x/tax2gas/types" is being imported more than once (stylecheck)
|
custom/auth/post/post.go#L9
ST1019(related information): other import of "github.com/classic-terra/core/v3/x/tax2gas/types" (stylecheck)
|
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)
|
x/tax2gas/utils/fee_tax.go#L124
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
|
|
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)
|
app/upgrades/v8_1/upgrades.go#L1
var-naming: don't use an underscore in package name (revive)
|
app/upgrades/v8_1/constants.go#L1
var-naming: don't use an underscore in package name (revive)
|
This job failed
Loading