Skip to content

Use payable constructor instead of deposit (#1398) #7177

Use payable constructor instead of deposit (#1398)

Use payable constructor instead of deposit (#1398) #7177

Triggered via push January 13, 2025 15:28
Status Failure
Total duration 11m 51s
Artifacts

code.yml

on: push
Plan the execution
16s
Plan the execution
prettier:check
33s
prettier:check
Matrix: downloadable-utils
Matrix: e2e
Matrix: embedded-utils
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/eth/contractsFactory.ts > contracts factory > creates contracts at unique addresses: utils/e2e-tests/ts/tests/eth/contractsFactory.ts#L66
ContractFunctionExecutionError: The contract function "build" reverted with the following reason: VM Exception while processing transaction: revert Contract Call: address: 0xc01ee7f10ea4af4673cfff62710e1d7792aba8f3 function: build() sender: 0x3Cd0A705a2DC65e5b1E1205896BaA2be8A07c6e0 Docs: https://viem.sh/docs/contract/simulateContract Version: viem@2.22.2 ❯ getContractError ../../../node_modules/viem/utils/errors/getContractError.ts:78:10 ❯ simulateContract ../../../node_modules/viem/actions/public/simulateContract.ts:308:11 ❯ build tests/eth/contractsFactory.ts:66:5 ❯ tests/eth/contractsFactory.ts:55:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/docs/contract/simulateContract', metaMessages: [ 'Contract Call:', ' address: 0xc01ee7f10ea4af4673cfff62710e1d7792aba8f3\n function: build()\n sender: 0x3Cd0A705a2DC65e5b1E1205896BaA2be8A07c6e0' ], shortMessage: 'The contract function "build" reverted with the following reason:\nVM Exception while processing transaction: revert', version: '2.22.2', abi: [ { type: 'constructor', inputs: [], stateMutability: 'payable' }, { type: 'function', name: 'build', inputs: [], outputs: [ { name: 'itemAddress', type: 'address', internalType: 'contract Item' } ], stateMutability: 'nonpayable' }, { type: 'function', name: 'withdrawAll', inputs: [], outputs: [], stateMutability: 'nonpayable' } ], args: undefined, contractAddress: '0xc01ee7f10ea4af4673cfff62710e1d7792aba8f3', formattedArgs: undefined, functionName: 'build', sender: '0x3Cd0A705a2DC65e5b1E1205896BaA2be8A07c6e0', walk: 'Function<walk>' } Caused by: Caused by: ContractFunctionRevertedError: The contract function "build" reverted with the following reason: VM Exception while processing transaction: revert Version: viem@2.22.2 ❯ ../../../node_modules/viem/utils/errors/getContractError.ts:65:14 ❯ getContractError ../../../node_modules/viem/utils/errors/getContractError.ts:76:5 ❯ simulateContract ../../../node_modules/viem/actions/public/simulateContract.ts:308:11 ❯ build tests/eth/contractsFactory.ts:66:5 ❯ tests/eth/contractsFactory.ts:55:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'The contract function "build" reverted with the following reason:\nVM Exception while processing transaction: revert', version: '2.22.2', data: undefined, reason: 'VM Exception while processing transaction: revert', signature: undefined, walk: 'Function<walk>' }
End-to-end tests / base
Process completed with exit code 1.