Support arbitrary contract calls #1020
Annotations
10 errors and 5 warnings
Lint:
service/service_construction.go#L163
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/service_construction.go#L634
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/service_construction.go#L952
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/contract_call_data.go#L76
Consider pre-allocating `argumentsData` (prealloc)
|
Lint:
service/contract_call_data_test.go#L53
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
Lint:
service/contract_call_data.go#L155
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
Lint:
service/service_construction.go#L1373
S1005: unnecessary assignment to the blank identifier (gosimple)
|
Lint:
service/service_construction.go#L174
ineffectual assignment to err (ineffassign)
|
Lint:
service/service_construction.go#L867
ineffectual assignment to amount (ineffassign)
|
Lint:
service/backend/pchain/construction_test.go#L387
string `","signers":` has 6 occurrences, make it a constant (goconst)
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@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 `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Build
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/
|
Test
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/
|