Feat: Multiple Block Ranges #4374
Annotations
10 errors and 1 warning
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; address: "0x00000000000000000000000000...' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; ... 5 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly indexed: true; }]; }]; address: "0x0000000000000000000000000000000000000001"; start...' is not assignable to type '{ abi: [{ readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly indexed: true; }]; }]; ... 5 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ address: ("0x0000000000000000000000000000000000000001" | "0x0000000000000000000000000000000000000003")[]; startBlock: number; endBlock: number; }' is not assignable to type '{ address?: `0x${string}` | readonly `0x${string}`[] | Factory<AbiEvent> | undefined; filter?: { event: "Event1()" | "Event1(bytes32 indexed)"; args: readonly unknown[] | Record<string, unknown>; } | { ...; }[] | undefined; includeTransactionReceipts?: boolean | undefined; includeCallTraces?: boolean | undefined; bl...'.
|
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; filter: { ...; }; address: "0x0000000000000000000000000000000000000001"; startBlock: number; endBlock: number; }' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; network: "mainnet" | { mainnet?: { ...; } | undefined; }; ... 4 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly [...]; }]; filter: ({ ...; } | { ...; })[]; ad...' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly [...]; }]; ... 5 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; address: "0x0000000000000000000000000000000000000001"; startBlock: number; endBlock: number; network: { ...; }; }' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; network: "mainnet" | { mainnet?: { ...; } | undefined; }; ... 4 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: "mainnet"; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; address: "0x0000000000000000000000000000000000000001"; startBlock: number; endBlock: number; }' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }]; network: "mainnet" | { mainnet?: { ...; } | undefined; }; ... 4 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; startBlock: number; }' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; ... 5 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: { mainnet: {}; }; abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; endBlock: number; }' is not assignable to type '{ abi: [{ readonly name: "Event0"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "arg"; readonly indexed: true; }]; }, { readonly name: "Event1"; readonly type: "event"; readonly inputs: readonly []; }]; ... 5 more ...; blocks?: BlockRange[] | undefined; }'.
|
Typecheck
Type '{ network: { mainnet: {}; }; address: "0x0000000000000000000000000000000000000001"; startBlock: number; endBlock: number; }' is not assignable to type '{ network: "mainnet" | { mainnet?: { address?: `0x${string}` | readonly `0x${string}`[] | Factory<AbiEvent> | undefined; includeTransactionReceipts?: boolean | undefined; blocks?: BlockRange[] | undefined; } | undefined; }; address: `0x${string}` | ... 1 more ... | Factory<...>; includeTransactionReceipts?: boolean ...'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading