Skip to content

refactor: Remove SpokePoolClient dependency from depositId search #2338

refactor: Remove SpokePoolClient dependency from depositId search

refactor: Remove SpokePoolClient dependency from depositId search #2338

Triggered via push December 17, 2023 13:15
Status Success
Total duration 1m 44s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Lint: src/clients/mocks/MockSpokePoolClient.ts#L126
Type '{ success: true; firstDepositId: number; latestBlockNumber: number; latestDepositId: number; currentTime: number; events: Event[][]; blocks: { [blockNumber: number]: providers.Block; }; searchEndBlock: number; }' is not assignable to type 'SpokePoolUpdate'.
Lint: src/clients/mocks/MockSpokePoolClient.ts#L126
Type '{ success: true; firstDepositId: number; latestBlockNumber: number; latestDepositId: number; currentTime: number; events: Event[][]; blocks: { [blockNumber: number]: providers.Block; }; searchEndBlock: number; }' is not assignable to type 'SpokePoolUpdate'.
Lint: src/clients/mocks/MockSpokePoolClient.ts#L126
Type '{ success: true; firstDepositId: number; latestBlockNumber: number; latestDepositId: number; currentTime: number; events: Event[][]; blocks: { [blockNumber: number]: providers.Block; }; searchEndBlock: number; }' is not assignable to type 'SpokePoolUpdate'.