Add tax2gas module and move all handle fees logic to tax2gas module #1141
Annotations
10 errors and 1 warning
golangci-lint:
x/tax2gas/types/expected_keeper.go#L5
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
x/tax2gas/types/expected_keeper.go#L7
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
x/tax2gas/utils/utils.go#L108
assignOp: replace `gasRemaining = gasRemaining - (taxGas - taxGasRemaining)` with `gasRemaining -= (taxGas - taxGasRemaining)` (gocritic)
|
golangci-lint:
x/tax2gas/utils/utils.go#L117
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
x/tax2gas/utils/utils.go#L124
naked return in func `CalculateTaxesAndPayableFee` with 50 lines of code (nakedret)
|
golangci-lint:
x/tax2gas/utils/utils.go#L115
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
x/tax2gas/utils/utils.go#L94
ineffectual assignment to taxGasRemaining (ineffassign)
|
golangci-lint:
tests/e2e/initialization/config.go#L366
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
x/tax2gas/ante/fee_test.go#L265
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
x/tax2gas/ante/fee_test.go#L282
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/core/core. Supported file pattern: go.sum
|