Support arbitrary contract calls #1022
Annotations
8 errors and 7 warnings
Lint:
service/backend/pchain/construction_test.go#L387
string `{"tx":"` has 6 occurrences, make it a constant (goconst)
|
Lint:
service/service_construction.go#L164
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/service_construction.go#L635
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/service_construction.go#L953
ifElseChain: rewrite if-else to switch statement (gocritic)
|
Lint:
service/contract_call_data.go#L79
Consider pre-allocating `argumentsData` (prealloc)
|
Lint:
service/service_construction.go#L175
ineffectual assignment to err (ineffassign)
|
Lint:
service/service_construction.go#L868
ineffectual assignment to amount (ineffassign)
|
Lint
issues found
|
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/
|
Lint:
service/contract_call_data.go#L157
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
Lint:
service/contract_call_data_test.go#L53
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
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/
|