client: Add more unit tests for setHead function #1082
Annotations
10 errors and 1 warning
Run npm ci
Type 'RPCMethod' is not assignable to type '() => Promise<{ name: string; enode: string | undefined; id: string | undefined; ip: string; listenAddr: string; ports: { discovery: number | undefined; listener: number | undefined; }; protocols: { ...; }; }>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '() => Promise<{ id: string; name: string | null; protocols: { eth: { head: `0x${string}`; difficulty: any; version: number | null; }; }; caps: string[] | undefined; network: { remoteAddress: string; }; }[]>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => Promise<`0x${string}`>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => Promise<`0x${string}`>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => Promise<`0x${string}`>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => `0x${string}`'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => Promise<false | { startingBlock: `0x${string}`; currentBlock: `0x${string}`; highestBlock: `0x${string}`; }>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '() => Promise<`0x${string}`>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '() => Promise<`0x${string}`>'.
|
Run npm ci
Type 'RPCMethod' is not assignable to type '(_params?: never[]) => string'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading