[R4R] feat(oracle) #235
lint.yml
on: pull_request
Run golangci-lint
35s
Run markdown-lint
10s
Annotations
10 errors and 12 warnings
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L117
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L133
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L13
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
x/oracle/types/params.go#L65
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/types/keys.go#L17
File is not `gofumpt`-ed (gofumpt)
|
Run golangci-lint:
x/oracle/types/errors.go#L11
SA1019: sdkerrors.Register is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
|
Run golangci-lint:
x/oracle/types/errors.go#L12
SA1019: sdkerrors.Register is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
|
Run golangci-lint:
x/oracle/types/errors.go#L13
SA1019: sdkerrors.Register is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
|
Run golangci-lint:
x/oracle/types/message_create_price.go#L46
SA1019: sdkerrors.Wrapf is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
|
Run golangci-lint:
x/oracle/types/message_update_params.go#L30
SA1019: sdkerrors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
|
Run markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L16
var-naming: struct field FeederId should be FeederID (revive)
|
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L14
exported: type name will be used as cache.CacheItemP by other packages, and that stutters; consider calling this ItemP (revive)
|
Run golangci-lint:
x/oracle/keeper/cache/caches.go#L15
exported: type name will be used as cache.CacheItemM by other packages, and that stutters; consider calling this ItemM (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L13
var-naming: var PricesNextRoundIdKey should be PricesNextRoundIDKey (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L18
var-naming: func parameter tokenId should be tokenID (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L22
var-naming: var tokenIdBytes should be tokenIDBytes (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L32
var-naming: func parameter roundId should be roundID (revive)
|
Run golangci-lint:
x/oracle/module_simulation.go#L75
unused-parameter: parameter 'simState' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/oracle/module_simulation.go#L80
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/oracle/module.go#L67
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)
|