Skip to content

remove IncreaseAllowance & add shared nonce #3

remove IncreaseAllowance & add shared nonce

remove IncreaseAllowance & add shared nonce #3

Triggered via pull request October 27, 2023 16:34
Status Failure
Total duration 2m 6s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 6 warnings
Lint: channel/erc20_depositor.go#L52
use of `getLockKey` forbidden by pattern `^[Gg]et.*$` (forbidigo)
Lint: channel/erc20_depositor.go#L64
use of `getLockKey` forbidden by pattern `^[Gg]et.*$` (forbidigo)
Lint: channel/erc20_depositor.go#L97
use of `fmt.Println` forbidden by pattern `fmt\.Print.*` (forbidigo)
Lint: channel/erc20_depositor.go#L115
use of `fmt.Printf` forbidden by pattern `fmt\.Print.*` (forbidigo)
Lint: channel/erc20_depositor.go#L117
use of `fmt.Println` forbidden by pattern `fmt\.Print.*` (forbidigo)
Lint: channel/erc20_depositor.go#L120
use of `fmt.Println` forbidden by pattern `fmt\.Print.*` (forbidigo)
Lint: channel/erc20_depositor.go#L130
use of `fmt.Printf` forbidden by pattern `fmt\.Print.*` (forbidigo)
Lint: channel/erc20_depositor.go#L63
Function 'Deposit' has too many statements (53 > 40) (funlen)
Lint: channel/withdraw.go#L59
Function 'ensureWithdrawn' is too long (64 > 60) (funlen)
Lint: channel/erc20_depositor.go#L82
commentFormatting: put a space between `//` and comment text (gocritic)
Race Test
Process completed with exit code 1.
Generate bindings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint: channel/erc20_depositor.go#L160
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Lint: channel/contractbackend.go#L50
exported: exported var GlobalExpectedNonces should have comment or be unexported (revive)
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Race Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/