feat: add option to explicitly handle fetching logs from load balanced rpcs #9622
Annotations
5 errors
Build
Property 'publicClient' does not exist on type 'SyncToSqliteOptions'.
|
Build
Property 'publicClient' does not exist on type 'SyncToPostgresOptions'.
|
Build
Property 'publicClient' does not exist on type 'SyncToPostgresOptions'.
|
Build
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; }
|
Build
Process completed with exit code 1.
|
Loading