Skip to content

Feat: whitelist manager proposal #325

Feat: whitelist manager proposal

Feat: whitelist manager proposal #325

Triggered via pull request September 25, 2024 19:32
Status Failure
Total duration 4m 49s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 8 warnings
lint: x/asset/keeper/token_test.go#L13
cannot use "1" (untyped string constant) as uint32 value in struct literal (typecheck)
lint: x/asset/keeper/token_test.go#L29
suite.testUser1Address undefined (type *KeeperTestSuite has no field or method testUser1Address) (typecheck)
lint: x/asset/keeper/token_test.go#L45
suite.testUser1Acc undefined (type *KeeperTestSuite has no field or method testUser1Acc) (typecheck)
lint: x/asset/keeper/token_test.go#L50
suite.testUser1Acc undefined (type *KeeperTestSuite has no field or method testUser1Acc) (typecheck)
lint: x/asset/types/keys.go#L48
File is not `gofumpt`-ed (gofumpt)
lint: x/asset/client/cli/tx.go#L26
File is not `gofumpt`-ed (gofumpt)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: x/asset/types/events.go#L11
var-naming: const AttributeKeyTokenId should be AttributeKeyTokenID (revive)
lint: x/asset/types/token.go#L3
var-naming: func parameter tokenId should be tokenID (revive)
lint: x/asset/types/msg.go#L124
var-naming: func parameter tokenId should be tokenID (revive)
lint: x/asset/types/msg.go#L162
var-naming: func parameter tokenId should be tokenID (revive)
lint: x/asset/types/msg.go#L208
var-naming: func parameter tokenId should be tokenID (revive)
lint: x/asset/types/msg.go#L254
var-naming: func parameter tokenId should be tokenID (revive)
lint: x/asset/types/msg.go#L293
var-naming: func parameter tokenId should be tokenID (revive)