Skip to content

viem 2

viem 2 #389

Triggered via pull request October 25, 2023 19:13
Status Failure
Total duration 1m 22s
Artifacts

verify.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Types: src/_test/utils.ts#L50
Type '{ readonly id: 8453; readonly name: "Rollup Localhost"; readonly network: "localhost"; readonly nativeCurrency: { readonly decimals: 18; readonly name: "Ether"; readonly symbol: "ETH"; }; ... 5 more ...; readonly fees?: ChainFees<...> | undefined; }' does not satisfy the expected type '{ blockExplorers?: { [key: string]: ChainBlockExplorer; default: ChainBlockExplorer; } | undefined; contracts?: { [x: string]: ChainContract | { ...; } | undefined; ensRegistry?: ChainContract | undefined; ensUniversalResolver?: ChainContract | undefined; multicall3?: ChainContract | undefined; } | undefined; ... 8 ...'.
Types: src/actions/public/L1/simulateDepositETH.test.ts#L15
Type '"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"' is not assignable to type 'undefined'.
Types: src/actions/public/L1/simulateDepositETH.test.ts#L19
Argument of type '{ address: `0x${string}`; value?: bigint | undefined; nonce?: number | undefined; gasPrice?: bigint | undefined; type?: "legacy" | undefined; maxFeePerGas?: undefined; maxPriorityFeePerGas?: undefined; ... 7 more ...; account?: undefined; } | ... 10 more ... | { ...; }' is not assignable to parameter of type 'WriteContractParameters<readonly [{ readonly stateMutability: "payable"; readonly type: "function"; readonly inputs: readonly [{ readonly name: "_to"; readonly internalType: "address"; readonly type: "address"; }, { readonly name: "_value"; readonly internalType: "uint256"; readonly type: "uint256"; }, { ...; }, { ....'.
Types: src/actions/public/L1/simulateDepositETH.ts#L13
Type 'TChain' does not satisfy the constraint 'Abi | readonly unknown[]'.
Types: src/actions/public/L1/simulateDepositETH.ts#L18
Type 'TChain' does not satisfy the constraint 'readonly [`0x${string}`, bigint, bigint, boolean, `0x${string}`]'.
Types: src/actions/public/L1/simulateDepositETH.ts#L37
Type 'SimulateContractReturnType<readonly [{ readonly stateMutability: "nonpayable"; readonly type: "constructor"; readonly inputs: readonly [{ readonly name: "_l2Oracle"; readonly internalType: "contract L2OutputOracle"; readonly type: "address"; }, { ...; }, { ...; }, { ...; }]; }, ... 24 more ..., { ...; }], ... 7 more...' is not assignable to type 'SimulateDepositETHReturnType<TChain, TChainOverride>'.
Types: src/actions/public/L1/simulateDepositETH.ts#L37
Argument of type 'SimulateContractParameters<readonly [{ readonly stateMutability: "nonpayable"; readonly type: "constructor"; readonly inputs: readonly [{ readonly name: "_l2Oracle"; readonly internalType: "contract L2OutputOracle"; readonly type: "address"; }, { ...; }, { ...; }, { ...; }]; }, ... 24 more ..., { ...; }], "depositTr...' is not assignable to parameter of type 'SimulateContractParameters<readonly [{ readonly stateMutability: "nonpayable"; readonly type: "constructor"; readonly inputs: readonly [{ readonly name: "_l2Oracle"; readonly internalType: "contract L2OutputOracle"; readonly type: "address"; }, { ...; }, { ...; }, { ...; }]; }, ... 24 more ..., { ...; }], ... 4 more...'.
Types: src/actions/public/L1/simulateDepositETH.ts#L44
Type 'TChain' does not satisfy the constraint 'readonly [`0x${string}`, bigint, bigint, boolean, `0x${string}`]'.
Types: src/actions/public/L1/simulateDepositETH.ts#L44
Type 'TChain' does not satisfy the constraint 'readonly [`0x${string}`, bigint, bigint, boolean, `0x${string}`]'.
Types: src/actions/public/L1/simulateDepositTransaction.test.ts#L22
Type '"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"' is not assignable to type 'undefined'.
Test
Couldn't write a comment to the pull-request. Please make sure your job has the permission 'pull-request: write'. Original Error was: [HttpError] - Resource not accessible by integration