refactor: refactor x/exchange module #622
Triggered via pull request
September 27, 2023 10:12
Status
Failure
Total duration
3m 31s
Artifacts
–
Annotations
7 errors and 5 warnings
Run golangci-lint:
app/ante/msg_ante_test.go#L475
cannot use utils.ParseDec("1000000") (value of type "github.com/cosmos/cosmos-sdk/types".Dec) as "github.com/cosmos/cosmos-sdk/types".Int value in argument to exchangetypes.NewMsgPlaceBatchLimitOrder (typecheck)
|
Run golangci-lint:
app/upgrades/mainnet/v5/upgrade_test.go#L152
pool.MinOrderQuantity undefined (type "github.com/crescent-network/crescent/v5/x/amm/types".Pool has no field or method MinOrderQuantity) (typecheck)
|
Run golangci-lint:
app/upgrades/mainnet/v5/upgrade_test.go#L154
pool.MinOrderQuantity undefined (type "github.com/crescent-network/crescent/v5/x/amm/types".Pool has no field or method MinOrderQuantity) (typecheck)
|
Run golangci-lint:
app/upgrades/mainnet/v5/upgrade_test.go#L157
pool.MinOrderQuote undefined (type "github.com/crescent-network/crescent/v5/x/amm/types".Pool has no field or method MinOrderQuote) (typecheck)
|
Run golangci-lint:
app/upgrades/mainnet/v5/upgrade_test.go#L159
pool.MinOrderQuote undefined (type "github.com/crescent-network/crescent/v5/x/amm/types".Pool has no field or method MinOrderQuote) (typecheck)
|
Run golangci-lint:
x/amm/keeper/source.go#L14
var `threshold` is unused (unused)
|
Run golangci-lint
Process completed with exit code 2.
|
Run golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: technote-space/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|