feat: add RPC methods described in (revised) EIP-7715 #616
main.yml
on: pull_request
Matrix: Build, lint, and test / Prepare
Check workflows
44s
Matrix: Build, lint, and test / Build
Matrix: Build, lint, and test / Compatibility test
Matrix: Build, lint, and test / Lint
Matrix: Build, lint, and test / Test
Publish release
/
publish-npm
Annotations
28 errors and 11 warnings
Build, lint, and test / Lint (22.x)
Process completed with exit code 1.
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-revoke-execution-permission.ts#L3
There should be at least one empty line between import groups
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-revoke-execution-permission.ts#L3
Imports "Json", "JsonRpcRequest" and "PendingJsonRpcResponse" are only used as types
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-revoke-execution-permission.ts#L2
All imports in the declaration are only used as types. Use `import type`
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-revoke-execution-permission.test.ts#L96
This assertion is unnecessary since it does not change the type of the expression
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-revoke-execution-permission.test.ts#L85
This assertion is unnecessary since it does not change the type of the expression
|
Build, lint, and test / Lint (22.x):
src/methods/wallet-request-execution-permissions.test.ts#L138
This assertion is unnecessary since it does not change the type of the expression
|
Build, lint, and test / Compatibility test (18.x)
Process completed with exit code 1.
|
Build, lint, and test / Compatibility test (18.x):
src/types.test-d.ts#L9
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/src/types").AbstractRpcService' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/network-controller/dist/rpc-service/abstract-rpc-service").AbstractRpcService'.
|
Build, lint, and test / Compatibility test (18.x):
node_modules/@metamask/utils/dist/hex.d.cts#L101
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (18.x):
node_modules/@metamask/utils/dist/hex.d.cts#L85
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (18.x):
node_modules/@metamask/utils/dist/hex.d.cts#L69
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (18.x):
node_modules/@metamask/utils/dist/hex.d.cts#L1
Cannot find type definition file for 'lodash'.
|
Build, lint, and test / Compatibility test (20.x)
The operation was canceled.
|
Build, lint, and test / Compatibility test (20.x):
src/types.test-d.ts#L9
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/src/types").AbstractRpcService' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/network-controller/dist/rpc-service/abstract-rpc-service").AbstractRpcService'.
|
Build, lint, and test / Compatibility test (20.x):
node_modules/@metamask/utils/dist/hex.d.cts#L101
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (20.x):
node_modules/@metamask/utils/dist/hex.d.cts#L85
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (20.x):
node_modules/@metamask/utils/dist/hex.d.cts#L69
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (20.x):
node_modules/@metamask/utils/dist/hex.d.cts#L1
Cannot find type definition file for 'lodash'.
|
Build, lint, and test / Compatibility test (20.x)
The strategy configuration was canceled because "build-lint-test.compatibility-test._18_x" failed
|
Build, lint, and test / Compatibility test (22.x)
The operation was canceled.
|
Build, lint, and test / Compatibility test (22.x):
src/types.test-d.ts#L9
Argument of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/src/types").AbstractRpcService' is not assignable to parameter of type 'import("/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/@metamask/network-controller/dist/rpc-service/abstract-rpc-service").AbstractRpcService'.
|
Build, lint, and test / Compatibility test (22.x):
node_modules/@metamask/utils/dist/hex.d.cts#L101
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (22.x):
node_modules/@metamask/utils/dist/hex.d.cts#L85
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (22.x):
node_modules/@metamask/utils/dist/hex.d.cts#L69
Could not find a declaration file for module 'lodash'. '/home/runner/work/eth-json-rpc-middleware/eth-json-rpc-middleware/node_modules/lodash/lodash.js' implicitly has an 'any' type.
|
Build, lint, and test / Compatibility test (22.x):
node_modules/@metamask/utils/dist/hex.d.cts#L1
Cannot find type definition file for 'lodash'.
|
Build, lint, and test / Compatibility test (22.x)
The strategy configuration was canceled because "build-lint-test.compatibility-test._18_x" failed
|
All jobs pass
Process completed with exit code 1.
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L478
JSDoc description does not satisfy the regex pattern
|
Build, lint, and test / Lint (22.x):
src/wallet.ts#L478
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/fetch.ts#L287
Missing JSDoc @param "options.req" description
|
Build, lint, and test / Lint (22.x):
src/fetch.ts#L282
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.
|