make lint & ethereum -> PlatON #2223
Merged
Annotations
10 errors and 3 warnings
golangci-lint:
p2p/discover/v5wire/crypto.go#L154
encryptGCM - result 1 (error) is always nil (unparam)
|
golangci-lint:
p2p/discover/v5wire/encoding.go#L235
`(*Codec).makeHeader` - `toID` is unused (unparam)
|
golangci-lint:
p2p/discover/v5wire/encoding.go#L281
(*Codec).encodeWhoareyou - result 1 (error) is always nil (unparam)
|
golangci-lint:
p2p/discover/v5wire/encoding.go#L341
`(*Codec).makeHandshakeAuth` - `addr` is unused (unparam)
|
golangci-lint:
x/staking/staking_types.go#L761
Function 'CompareForDel' has too many statements (77 > 40) (funlen)
|
golangci-lint:
accounts/scwallet/hud.go#L194
Function 'refreshWallets' has too many statements (41 > 40) (funlen)
|
golangci-lint:
accounts/scwallet/wallet.go#L340
Function 'Open' is too long (70 > 60) (funlen)
|
golangci-lint:
accounts/scwallet/wallet.go#L442
Function 'selfDerive' has too many statements (57 > 40) (funlen)
|
golangci-lint:
accounts/scwallet/securechannel.go#L217
`(*SecureChannelSession).transmitEncrypted` - `cla` always receives `claSCWallet` (`128`) (unparam)
|
golangci-lint:
console/bridge.go#L103
Function 'OpenWallet' has too many statements (54 > 40) (funlen)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Post golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
golangci-lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
The logs for this run have expired and are no longer available.
Loading