Implement sequencer "shadow" feature #5869
Annotations
7 errors and 1 warning
lint:
node/genesis.go#L14
paramTypeCombine: func(genesisPath string, sequencerMode bool, shadowMode bool, bc *blockchain.Blockchain, v vm.VM, maxSteps uint64) error could be replaced with func(genesisPath string, sequencerMode, shadowMode bool, bc *blockchain.Blockchain, v vm.VM, maxSteps uint64) error (gocritic)
|
lint:
builder/builder.go#L106
cyclomatic complexity 19 of func `(*Builder).Run` is high (> 15) (gocyclo)
|
lint:
builder/builder.go#L522
line is 153 characters (lll)
|
lint:
node/node.go#L385
line is 163 characters (lll)
|
lint:
builder/builder.go#L547
unnecessary trailing newline (whitespace)
|
lint:
node/node.go#L181
Magic number: 1337, in <argument> detected (mnd)
|
lint
issues found
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
|