Skip to content

[DRAFT] chore: update sc provider #7176

[DRAFT] chore: update sc provider

[DRAFT] chore: update sc provider #7176

Triggered via pull request January 25, 2025 05:17
Status Success
Total duration 3m 17s
Artifacts

pr-any.yml

on: pull_request
Matrix: pr
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 4 warnings
pr (deno): packages/rpc-provider/src/substrate-connect/index.spec.ts#L85
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (deno): packages/rpc-provider/src/substrate-connect/index.spec.ts#L92
Type '{ _getLatestRequest: () => string; _isTerminated: () => boolean; _recevedRequests: () => string[]; _setSendJsonRpcInterceptor: (fn: (rpc: string) => void) => void; _setTerminateInterceptor: (fn: () => void) => void; ... 4 more ...; sendJsonRpc: (rpc: string) => void; }' is missing the following properties from type 'MockChain': nextJsonRpcResponse, jsonRpcResponses
pr (deno): packages/rpc-provider/src/substrate-connect/index.spec.ts#L136
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (deno): packages/rpc-provider/src/substrate-connect/index.spec.ts#L146
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (deno)
Process completed with exit code 255.
pr (build): packages/rpc-provider/src/substrate-connect/index.spec.ts#L85
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (build): packages/rpc-provider/src/substrate-connect/index.spec.ts#L92
Type '{ _getLatestRequest: () => string; _isTerminated: () => boolean; _recevedRequests: () => string[]; _setSendJsonRpcInterceptor: (fn: (rpc: string) => void) => void; _setTerminateInterceptor: (fn: () => void) => void; ... 4 more ...; sendJsonRpc: (rpc: string) => void; }' is missing the following properties from type 'MockChain': nextJsonRpcResponse, jsonRpcResponses
pr (build): packages/rpc-provider/src/substrate-connect/index.spec.ts#L136
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (build): packages/rpc-provider/src/substrate-connect/index.spec.ts#L146
Namespace '"/home/runner/work/api/api/node_modules/@substrate/connect/dist/esm/index"' has no exported member 'JsonRpcCallback'.
pr (build)
Process completed with exit code 255.
pr (lint): packages/rpc-provider/src/substrate-connect/index.ts#L56
"polkadot" | "ksmcc3" | "rococo_v2_2" | "westend2" | "paseo" is overridden by string in this union type
pr (lint): packages/rpc-provider/src/substrate-connect/index.ts#L67
"polkadot" | "ksmcc3" | "rococo_v2_2" | "westend2" | "paseo" is overridden by string in this union type
pr (lint): packages/rpc-provider/src/substrate-connect/index.ts#L171
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
pr (lint)
Process completed with exit code 1.
pr (test)
Process completed with exit code 1.
pr (deno)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pr (build)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pr (lint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pr (test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636