Skip to content

fix: .extend performance #716

fix: .extend performance

fix: .extend performance #716

Triggered via pull request May 28, 2024 20:47
@tmmtmm
synchronize #2328
tmm/type-perf
Status Cancelled
Total duration 6m 35s
Artifacts

pull-request.yml

on: pull_request
Matrix: Verify / Test Environments
Matrix: Verify / Test
Matrix: Verify / Types
Matrix: Verify / Wagmi
Fit to window
Zoom out
Zoom in

Annotations

69 errors and 1 warning
Size: src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Size: test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Size
The process '/home/runner/.bun/bin/bun' failed with exit code 2
Verify / Test Environments (bun): src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Verify / Test Environments (bun): test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Verify / Test Environments (bun)
Process completed with exit code 2.
Verify / Test Environments (node-20)
The job was canceled because "bun" failed.
Verify / Test Environments (node-20): src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Verify / Test Environments (node-20): test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Verify / Test Environments (node-20)
Process completed with exit code 2.
Verify / Test Environments (sveltekit)
The job was canceled because "bun" failed.
Verify / Test Environments (node-latest)
The job was canceled because "bun" failed.
Verify / Test Environments (node-latest): src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Verify / Test Environments (node-latest): test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Verify / Test Environments (node-latest)
The operation was canceled.
Verify / Test Environments (tsc)
The job was canceled because "bun" failed.
Verify / Test Environments (node-18)
The job was canceled because "bun" failed.
Verify / Test Environments (node-18): src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Verify / Test Environments (node-18): test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Verify / Test Environments (node-18)
The operation was canceled.
Verify / Test Environments (next)
The job was canceled because "bun" failed.
Verify / Test Environments (next)
The operation was canceled.
Verify / Test Environments (vite)
The job was canceled because "bun" failed.
Verify / Test Environments (vite)
The operation was canceled.
Verify / Types (5.1.6): src/actions/public/watchBlockNumber.test.ts#L465
Type 'false' is not assignable to type 'true'.
Verify / Types (5.1.6): src/actions/public/watchBlocks.test.ts#L806
Type 'false' is not assignable to type 'true'.
Verify / Types (5.1.6): src/actions/public/watchContractEvent.test.ts#L1368
Type 'false' is not assignable to type 'true'.
Verify / Types (5.1.6): src/actions/public/watchEvent.test.ts#L978
Type 'false' is not assignable to type 'true'.
Verify / Types (5.1.6): src/celo/formatters.test-d.ts#L161
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'PrepareTransactionRequestParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, undefined...'.
Verify / Types (5.1.6): src/celo/formatters.test-d.ts#L182
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SendTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, SendTransactionRequ...'.
Verify / Types (5.1.6): src/celo/formatters.test-d.ts#L196
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SignTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, Omit<...> | ... 15 ...'.
Verify / Types (5.1.6): src/celo/formatters.test-d.ts#L210
Argument of type '{ chain: { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }; feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipien...' is not assignable to parameter of type 'SendTransactionParameters<undefined, { address: "0x"; type: "json-rpc"; }, { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; ... 10 more ...; fees: ChainFees<...>; }, SendTransactionRequest<...>>'.
Verify / Types (5.1.6): src/clients/decorators/public.ts#L1841
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.1.6): src/clients/decorators/wallet.ts#L706
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.2.2)
The job was canceled because "_5_1_6" failed.
Verify / Types (5.2.2): src/actions/public/watchBlockNumber.test.ts#L465
Type 'false' is not assignable to type 'true'.
Verify / Types (5.2.2): src/actions/public/watchBlocks.test.ts#L806
Type 'false' is not assignable to type 'true'.
Verify / Types (5.2.2): src/actions/public/watchContractEvent.test.ts#L1368
Type 'false' is not assignable to type 'true'.
Verify / Types (5.2.2): src/actions/public/watchEvent.test.ts#L978
Type 'false' is not assignable to type 'true'.
Verify / Types (5.2.2): src/celo/formatters.test-d.ts#L161
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'PrepareTransactionRequestParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, undefined...'.
Verify / Types (5.2.2): src/celo/formatters.test-d.ts#L182
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SendTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, SendTransactionRequ...'.
Verify / Types (5.2.2): src/celo/formatters.test-d.ts#L196
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SignTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, Omit<...> | ... 15 ...'.
Verify / Types (5.2.2): src/celo/formatters.test-d.ts#L210
Argument of type '{ chain: { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }; feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipien...' is not assignable to parameter of type 'SendTransactionParameters<undefined, { address: "0x"; type: "json-rpc"; }, { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; ... 10 more ...; fees: ChainFees<...>; }, SendTransactionRequest<...>>'.
Verify / Types (5.2.2): src/clients/decorators/public.ts#L1841
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.2.2): src/clients/decorators/wallet.ts#L706
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.0.4)
The job was canceled because "_5_1_6" failed.
Verify / Types (5.0.4): src/actions/public/watchBlockNumber.test.ts#L465
Type 'false' is not assignable to type 'true'.
Verify / Types (5.0.4): src/actions/public/watchBlocks.test.ts#L806
Type 'false' is not assignable to type 'true'.
Verify / Types (5.0.4): src/actions/public/watchContractEvent.test.ts#L1368
Type 'false' is not assignable to type 'true'.
Verify / Types (5.0.4): src/actions/public/watchEvent.test.ts#L978
Type 'false' is not assignable to type 'true'.
Verify / Types (5.0.4): src/celo/formatters.test-d.ts#L161
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'PrepareTransactionRequestParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, undefined...'.
Verify / Types (5.0.4): src/celo/formatters.test-d.ts#L182
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SendTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, SendTransactionRequ...'.
Verify / Types (5.0.4): src/celo/formatters.test-d.ts#L196
Argument of type '{ feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipient: string; }' is not assignable to parameter of type 'SignTransactionParameters<{ blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }, { ...; }, undefined, Omit<...> | ... 15 ...'.
Verify / Types (5.0.4): src/celo/formatters.test-d.ts#L210
Argument of type '{ chain: { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; contracts: { readonly multicall3: { ...; }; }; ... 9 more ...; fees: ChainFees<...>; }; feeCurrency: "0x"; gatewayFee: bigint; gatewayFeeRecipien...' is not assignable to parameter of type 'SendTransactionParameters<undefined, { address: "0x"; type: "json-rpc"; }, { blockExplorers: { readonly default: { readonly name: "Celo Explorer"; readonly url: "https://celoscan.io"; readonly apiUrl: "https://api.celoscan.io/api"; }; }; ... 10 more ...; fees: ChainFees<...>; }, SendTransactionRequest<...>>'.
Verify / Types (5.0.4): src/clients/decorators/public.ts#L1841
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.0.4): src/clients/decorators/wallet.ts#L706
Type 'Promise<{ [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | { [x: string]: any; } | ... 14 more ... | { ...; }>' is not assignable to type 'Promise<{ [K in keyof (UnionRequiredBy<Extract<UnionOmit<ExtractChainFormatterParameters<DeriveChain<Chain, TChainOverride>, "transactionRequest", TransactionRequest>, "from"> & (DeriveChain<...> extends Chain ? { ...; } : { ...; }) & (DeriveAccount<...> extends Account ? { ...; } : { ...; }), IsNever<...> extends t...'.
Verify / Types (5.4.5)
The job was canceled because "_5_1_6" failed.
Verify / Types (5.4.5)
The operation was canceled.
Verify / Types (5.3.3)
The job was canceled because "_5_1_6" failed.
Verify / Types (5.3.3)
The operation was canceled.
Verify / Build: src/actions/public/mulitcall.bench-d.ts#L6
File '/home/runner/work/viem/viem/test/src/abis.ts' is not under 'rootDir' '/home/runner/work/viem/viem/src'. 'rootDir' is expected to contain all source files.
Verify / Build: test/src/abis.ts#L1
Cannot find module '~viem/constants/abis.js' or its corresponding type declarations.
Verify / Build
Process completed with exit code 2.
src/op-stack/actions/getTimeToFinalize.test.ts > default: src/op-stack/actions/getTimeToFinalize.ts#L156
ViemError: Withdrawal has not been proven on L1. Version: viem@1.0.2 ❯ Module.getTimeToFinalize src/op-stack/actions/getTimeToFinalize.ts:156:11 ❯ src/op-stack/actions/getTimeToFinalize.test.ts:28:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Withdrawal has not been proven on L1.', version: 'viem@1.0.2', walk: 'Function<walk>' }
src/op-stack/actions/getTimeToFinalize.test.ts > default: src/op-stack/actions/getTimeToFinalize.ts#L156
ViemError: Withdrawal has not been proven on L1. Version: viem@1.0.2 ❯ Module.getTimeToFinalize src/op-stack/actions/getTimeToFinalize.ts:156:11 ❯ src/op-stack/actions/getTimeToFinalize.test.ts:28:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Withdrawal has not been proven on L1.', version: 'viem@1.0.2', walk: 'Function<walk>' }
src/op-stack/actions/getTimeToFinalize.test.ts > default: src/op-stack/actions/getTimeToFinalize.ts#L156
ViemError: Withdrawal has not been proven on L1. Version: viem@1.0.2 ❯ Module.getTimeToFinalize src/op-stack/actions/getTimeToFinalize.ts:156:11 ❯ src/op-stack/actions/getTimeToFinalize.test.ts:28:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Withdrawal has not been proven on L1.', version: 'viem@1.0.2', walk: 'Function<walk>' }
src/op-stack/actions/getTimeToFinalize.test.ts > default: src/op-stack/actions/getTimeToFinalize.ts#L156
ViemError: Withdrawal has not been proven on L1. Version: viem@1.0.2 ❯ Module.getTimeToFinalize src/op-stack/actions/getTimeToFinalize.ts:156:11 ❯ src/op-stack/actions/getTimeToFinalize.test.ts:28:16 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Withdrawal has not been proven on L1.', version: 'viem@1.0.2', walk: 'Function<walk>' }
Verify / Test (webSocket, 3, 3)
Canceling since a higher priority waiting request for 'Pull request-tmm/type-perf' exists
Verify / Test (webSocket, 3, 3)
The operation was canceled.
Verify / Test (http, 2, 3)
Attempt 1 failed. Reason: Child_process exited with error code 1