Skip to content

feat: add option to explicitly handle fetching logs from load balanced rpcs #13857

feat: add option to explicitly handle fetching logs from load balanced rpcs

feat: add option to explicitly handle fetching logs from load balanced rpcs #13857

Triggered via pull request December 11, 2024 15:47
Status Failure
Total duration 2m 7s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Run tests
Property 'publicClient' does not exist on type 'SyncToSqliteOptions'.
Run tests
Property 'publicClient' does not exist on type 'SyncToPostgresOptions'.
Run tests
Property 'publicClient' does not exist on type 'SyncToPostgresOptions'.
Run tests
Argument of type '{ storageAdapter: StorageAdapter; onProgress: (nextValue: { step: SyncStep; percentage: number; latestBlockNumber: bigint; lastBlockNumberProcessed: bigint; message: string; }) => void; address?: `0x${string}` | undefined; indexerUrl?: string | false | undefined; filters?: SyncFilter[] | undefined; initialBlockLogs?: { blockNumber: bigint; logs: readonly ((Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}`; dynamicData: `0x${string}`; }; eventName: "Store_SetRecord"; topics: [`0x${string}`, `0x${string}`]; }> & Pick<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}`; dynamicData: `0x${string}`; }; eventName: "Store_SetRecord"; topics: [`0x${string}`, `0x${string}`]; }, "address" | "eventName" | "args">) | (Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; start: number; data: `0x${string}`; }; eventName: "Store_SpliceStaticData"; topics: [`0x${string}`, `0x${string}`]; }> & Pick<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; start: number; data: `0x${string}`; }; eventName: "Store_SpliceStaticData"; topics: [`0x${string}`, `0x${string}`]; }, "address" | "eventName" | "args">) | (Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; dynamicFieldIndex: number; start: number; deleteCount: number; encodedLengths: `0x${string}`; data: `0x${string}`; }; eventName: "Store_SpliceDynamicData"; topics: [`0x${string}`, `0x${string}`]; }> & Pick<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; dynamicFieldIndex: number; start: number; deleteCount: number; encodedLengths: `0x${string}`; data: `0x${string}`; }; eventName: "Store_SpliceDynamicData"; topics: [`0x${string}`, `0x${string}`]; }, "address" | "eventName" | "args">) | (Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; }; eventName: "Store_DeleteRecord"; topics: [`0x${string}`, `0x${string}`]; }> & Pick<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; }; eventName: "Store_DeleteRecord"; topics: [`0x${string}`, `0x${string}`]; }, "address" | "eventName" | "args">))[]; } | undefined; initialState?: { blockNumber: bigint; tables: readonly TableWithRecords<DeployedTable>[]; } | undefined; tableIds?: `0x${string}`[] | undefined; followBlockTag?: "latest" | "safe" | "finalized" | undefined; startBlock?: bigint | undefined; maxBlockRange?: bigint | undefined; }
Run tests
Process completed with exit code 1.