change viem contract instancing #750
Annotations
10 errors and 3 warnings
🧪 Run TypeCheck
Type '{ account: Account | undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; ... 24 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; }' does not satisfy the constraint '`0x${string}`'.
|
🧪 Run TypeCheck
Type 'import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/@ethersproject/contracts/lib/index").Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/viem/_types/accounts/types").Account | undefined; blockNumber?: bigint | undefine...' is not assignable to type 'import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/@ethersproject/contracts/lib/index").Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/viem/_types/accounts/types").Account | undefined; blockNumber?: bigint | undefine...'. Two different types with this name exist, but they are unrelated.
|
🧪 Run TypeCheck
Argument of type 'Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | Account | undefined; blockNumber?: bigint | undefined; blockTag?: BlockTag | undefined; } | undefined] | [args: ...]) => Promise<...>; }; ... 7 more ...; abi: ({ ...; } | ... 1 more ... | { ...; })[]; }' is not assignable to parameter of type 'Contract | { address: `0x${string}`; abi: Abi | readonly unknown[]; }'.
|
🧪 Run TypeCheck
Argument of type 'Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | Account | undefined; blockNumber?: bigint | undefined; blockTag?: BlockTag | undefined; } | undefined] | [args: ...]) => Promise<...>; }; ... 7 more ...; abi: ({ ...; } | ... 1 more ... | { ...; })[]; }' is not assignable to parameter of type 'Contract | { address: `0x${string}`; abi: Abi | readonly unknown[]; }'.
|
🧪 Run TypeCheck
Type '{ account: Account | undefined; batch?: { multicall?: boolean | { batchSize?: number | undefined; wait?: number | undefined; } | undefined; } | undefined; cacheTime: number; ... 24 more ...; extend: <const client extends { ...; } & Partial<...>>(fn: (client: Client<...>) => client) => Client<...>; }' does not satisfy the constraint '`0x${string}`'.
|
🧪 Run TypeCheck
Type 'import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/@ethersproject/contracts/lib/index").Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/viem/_types/accounts/types").Account | undefined; blockNumber?: bigint | undefine...' is not assignable to type 'import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/@ethersproject/contracts/lib/index").Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | import("/home/runner/work/xcm-sdk/xcm-sdk/node_modules/viem/_types/accounts/types").Account | undefined; blockNumber?: bigint | undefine...'. Two different types with this name exist, but they are unrelated.
|
🧪 Run TypeCheck
Argument of type 'Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | Account | undefined; blockNumber?: bigint | undefined; blockTag?: BlockTag | undefined; } | undefined] | [args: ...]) => Promise<...>; }; ... 7 more ...; abi: { ...; }[]; }' is not assignable to parameter of type 'Contract | { address: `0x${string}`; abi: Abi | readonly unknown[]; }'.
|
🧪 Run TypeCheck
Argument of type 'Contract | { read: { [x: string]: (...parameters: [options?: { account?: `0x${string}` | Account | undefined; blockNumber?: bigint | undefined; blockTag?: BlockTag | undefined; } | undefined] | [args: ...]) => Promise<...>; }; ... 7 more ...; abi: { ...; }[]; }' is not assignable to parameter of type 'Contract | { address: `0x${string}`; abi: Abi | readonly unknown[]; }'.
|
🧪 Run TypeCheck
@moonbeam-network/xcm-sdk#typecheck: command (/home/runner/work/xcm-sdk/xcm-sdk/packages/sdk) /opt/hostedtoolcache/node/18.19.0/x64/bin/npm run typecheck exited (1)
|
🧪 Run TypeCheck
Process completed with exit code 1.
|
⚙️ Setup Node.js environment
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
⚙️ Setup Node.js environment
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
⚙️ Setup Node.js environment
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading