Skip to content

V.E PoC

V.E PoC #3

Triggered via pull request October 18, 2023 06:38
Status Success
Total duration 32m 48s
Artifacts

codeql-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Analyze: x/staking/vote_ext.go#L40
func `getConfirmedEventLogFromEth` is unused (unused)
Analyze: x/staking/keeper/msg_server_test.go#L1131
copylocks: TestSendEventRecord passes lock by value: github.com/cosmos/cosmos-sdk/x/staking/keeper_test.KeeperTestSuite contains github.com/stretchr/testify/suite.Suite contains sync.RWMutex (govet)
Analyze: x/staking/keeper/msg_server_test.go#L1141
ineffectual assignment to err (ineffassign)
Analyze
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
Analyze
var-naming: don't use underscores in Go names; const Vote_YES should be VoteYES (revive)
Analyze
var-naming: don't use underscores in Go names; const Vote_NO should be VoteNO (revive)
Analyze
var-naming: don't use underscores in Go names; const Vote_SKIP should be VoteSKIP (revive)
Analyze
receiver-naming: receiver name h should be consistent with previous receiver name v for VoteExtensionHandler (revive)
Analyze
receiver-naming: receiver name h should be consistent with previous receiver name v for VoteExtensionHandler (revive)
Analyze
receiver-naming: receiver name h should be consistent with previous receiver name v for VoteExtensionHandler (revive)