update oracle create-price tx nonce check and gas consumption #792
Annotations
10 errors and 1 warning
x/oracle/keeper/aggregator/context.go#L261
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/oracle/keeper/aggregator/context.go#L272
commentFormatting: put a space between `//` and comment text (gocritic)
|
x/oracle/types/params.go#L528
S1009: should omit nil check; len() for []uint64 is defined as zero (gosimple)
|
x/oracle/keeper/aggregator/context.go#L89
S1009: should omit nil check; len() for []*github.com/ExocoreNetwork/exocore/x/oracle/types.PriceSource is defined as zero (gosimple)
|
x/oracle/keeper/aggregator/context.go#L94
S1009: should omit nil check; len() for []*github.com/ExocoreNetwork/exocore/x/oracle/types.PriceTimeDetID is defined as zero (gosimple)
|
app/ante/cosmos/authz.go#L31
printf: non-constant format string in call to cosmossdk.io/errors.Wrapf (govet)
|
precompiles/testutil/logs.go#L41
printf: non-constant format string in call to github.com/ExocoreNetwork/exocore/precompiles/testutil.CheckVMError (govet)
|
testutil/abci.go#L194
printf: non-constant format string in call to cosmossdk.io/errors.Wrapf (govet)
|
testutil/abci.go#L241
printf: non-constant format string in call to cosmossdk.io/errors.Wrapf (govet)
|
x/oracle/keeper/aggregator/context.go#L230
naked return in func `PrepareRoundEndBlock` with 56 lines of code (nakedret)
|
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading