Using resolver as data oracle solution #39
Annotations
9 errors and 2 warnings
lint:
pkg/services/blockchain/eth/resolver.go#L376
`marshalling` is a misspelling of `marshaling` (misspell)
|
lint:
pkg/app/handler.go#L149
naked return in func `getResolverOpts` with 33 lines of code (nakedret)
|
lint:
pkg/services/blockchain/eth/resolver.go#L491
(*Resolver).resolveGistRootOnly - result 0 (*github.com/iden3/contracts-abi/state/go/abi.IStateStateInfo) is always nil (unparam)
|
lint:
pkg/document/proof.go#L27
ST1022: comment on exported const EthereumEip712SignatureProof2021Type should be of the form "EthereumEip712SignatureProof2021Type ..." (stylecheck)
|
lint:
pkg/services/did.go#L31
ST1003: struct field VerifyingContractChainId should be VerifyingContractChainID (stylecheck)
|
lint:
pkg/services/registry.go#L39
ST1003: struct field ChainId should be ChainID (stylecheck)
|
lint:
pkg/app/handler.go#L117
ST1003: func parameter verifyingContractChainId should be verifyingContractChainID (stylecheck)
|
lint:
pkg/services/blockchain/eth/resolver_test.go#L209
ST1003: var verifyingContractChainId should be verifyingContractChainID (stylecheck)
|
lint
issues found
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v1, actions/checkout@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 Node.js version which is deprecated and will be forced to run on node20: actions/setup-go@v1, actions/checkout@v2, 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/
|