Simplify and upgrade expected RpcService type #642
main.yml
on: pull_request
Matrix: Build, lint, and test / Prepare
Check workflows
20s
Matrix: Compatibility test / compatibility-test
Waiting for pending jobs
Matrix: Build, lint, and test / Build
Matrix: Build, lint, and test / Lint
Matrix: Build, lint, and test / Test
Publish release
/
publish-npm
Annotations
21 errors and 11 warnings
Build, lint, and test / Build (22.x)
Process completed with exit code 2.
|
Build, lint, and test / Build (22.x):
node_modules/@metamask/network-controller/dist/NetworkController.d.cts#L5
Cannot find module '@metamask/error-reporting-service' or its corresponding type declarations.
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-request-execution-permissions.ts#L71
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-request-execution-permissions.test.ts#L88
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-request-execution-permissions.test.ts#L73
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-get-capabilities.ts#L33
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-get-calls-status.ts#L54
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/inflight-cache.ts#L89
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/inflight-cache.ts#L79
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/inflight-cache.ts#L75
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/inflight-cache.ts#L13
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Lint (22.x):
src/block-tracker-inspector.ts#L42
This is the default value for this type parameter, so it can be omitted
|
Build, lint, and test / Test (22.x)
Process completed with exit code 1.
|
Build, lint, and test / Test (22.x):
node_modules/@metamask/network-controller/dist/NetworkController.d.cts#L5
Cannot find module '@metamask/error-reporting-service' or its corresponding type declarations.
|
Build, lint, and test / Test (22.x)
The strategy configuration was canceled because "build-lint-test.test._18_x" failed
|
Build, lint, and test / Test (18.x)
Process completed with exit code 1.
|
Build, lint, and test / Test (18.x):
node_modules/@metamask/network-controller/dist/NetworkController.d.cts#L5
Cannot find module '@metamask/error-reporting-service' or its corresponding type declarations.
|
Build, lint, and test / Test (20.x)
Process completed with exit code 1.
|
Build, lint, and test / Test (20.x):
node_modules/@metamask/network-controller/dist/NetworkController.d.cts#L5
Cannot find module '@metamask/error-reporting-service' or its corresponding type declarations.
|
Build, lint, and test / Test (20.x)
The strategy configuration was canceled because "build-lint-test.test._18_x" failed
|
All jobs pass
Process completed with exit code 1.
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L524
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L489
Types are not permitted on @returns
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L489
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L489
There must be no hyphen before @returns description
|
Build, lint, and test / Lint (22.x):
src/utils/timeout.test.ts#L48
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Build, lint, and test / Lint (22.x):
src/utils/normalize.ts#L55
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/utils/normalize.ts#L41
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/utils/normalize.ts#L15
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/block-cache.ts#L113
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
Build, lint, and test / Lint (22.x):
src/block-cache.ts#L35
Use a hash name instead
|
Code scanner / Run security scan
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/.github/workflows/main.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.
|