Skip to content

Use taxGasMeter in sdk to handle tax2Gas logic #1136

Use taxGasMeter in sdk to handle tax2Gas logic

Use taxGasMeter in sdk to handle tax2Gas logic #1136

Triggered via pull request July 23, 2024 07:54
Status Failure
Total duration 3m 4s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
golangci-lint: x/tax2gas/utils/utils.go#L108
assignOp: replace `gasRemaining = gasRemaining - (taxGas - taxGasRemaining)` with `gasRemaining -= (taxGas - taxGasRemaining)` (gocritic)
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#L117
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: x/tax2gas/ante/fee_test.go#L301
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/ante/fee_test.go#L321
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/ante/fee_test.go#L341
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/tax2gas/ante/fee_test.go#L361
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
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)