add fallback for web3 json-rpc. #39
Annotations
10 errors and 1 warning
Run npm test -- --timeout=1m:
src/api/render-node.test.ts#L64
Argument of type '{ EthereumGenesisContract: string; EthereumEndpoint: string; MaticEndpoint: string; ElectionsAuditOnly: boolean; FinalityBufferBlocks: number; EthereumFirstBlock: number; RegularRolloutWindowSeconds: number; ... 14 more ...; 'node-address': string; }' is not assignable to parameter of type 'BlockSyncConfiguration'.
|
Run npm test -- --timeout=1m:
src/api/render-node.test.ts#L72
Argument of type '{ EthereumGenesisContract: string; EthereumEndpoint: string; MaticEndpoint: string; ElectionsAuditOnly: boolean; FinalityBufferBlocks: number; EthereumFirstBlock: number; RegularRolloutWindowSeconds: number; ... 14 more ...; 'node-address': string; }' is not assignable to parameter of type 'ServiceConfiguration'.
|
Run npm test -- --timeout=1m:
src/api/render-node.test.ts#L150
Argument of type '{ EthereumGenesisContract: string; EthereumEndpoint: string; MaticEndpoint: string; ElectionsAuditOnly: boolean; FinalityBufferBlocks: number; EthereumFirstBlock: number; RegularRolloutWindowSeconds: number; ... 14 more ...; 'node-address': string; }' is not assignable to parameter of type 'ServiceConfiguration'.
|
Run npm test -- --timeout=1m:
src/cli-args.test.ts#L51
Type '{ ExternalLaunchConfig: { BootstrapMode: boolean; Port: number; EthereumFirstBlock: number; EthereumPollIntervalSeconds: number; EthereumRequestsPerSecondLimit: number; DeploymentDescriptorUrl: string; ... 15 more ...; 'node-address': string; }; ... 21 more ...; 'node-address': string; }' is not assignable to type 'ServiceConfiguration'.
|
Run npm test -- --timeout=1m:
src/cli-args.test.ts#L67
Type 'string[]' is not assignable to type 'string'.
|
Run npm test -- --timeout=1m:
src/cli-args.test.ts#L81
Type 'string[]' is not assignable to type 'string'.
|
Run npm test -- --timeout=1m:
src/config.ts#L1
'isEmpty' is declared but its value is never read.
|
Run npm test -- --timeout=1m:
src/config.ts#L50
Not all code paths return a value.
|
Run npm test -- --timeout=1m:
src/config.ts#L50
Parameter 'value' implicitly has an 'any' type.
|
Run npm test -- --timeout=1m:
src/config.ts#L50
Parameter 'options' implicitly has an 'any' type.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading