Skip to content

add missing test cases for signatures checks #986

add missing test cases for signatures checks

add missing test cases for signatures checks #986

Triggered via pull request November 25, 2024 08:58
Status Failure
Total duration 2m 28s
Artifacts

e2e.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/eth_getUserOperationReceipt.test.ts > '0.7' supports eth_getUserOperationReceipt > Returns paymaster when one is used: test/e2e/tests/eth_getUserOperationReceipt.test.ts#L147
UserOperationExecutionError: Signature provided for the User Operation is invalid. This could arise when: - the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster Request Arguments: callData: 0xb61d27f600000000000000000000000023b608675a2b2fb1890d3abbd85c5775c51691d5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000 callGasLimit: 120317 factory: 0x91E60e0613810449d098b0b5Ec8b51A0FE8c8985 factoryData: 0x5fbfb9cf0000000000000000000000006b833623fde1099fe9d80723815347ae52fdd4680000000000000000000000000000000000000000000000000000000000000000 maxFeePerGas: 49.367465996 gwei maxPriorityFeePerGas: 1 gwei nonce: 31959449948753234319697567023104 paymaster: 0xA8D50f7f97064937dAB4e0Ec6380D62185CccD3D paymasterPostOpGasLimit: 500000 paymasterVerificationGasLimit: 1500000 preVerificationGas: 53715 sender: 0x3A461f6c8D374092936b8eF40E58c4314435E941 signature: 0xc237626f1403fb4121f1bd7a7e7487d2ccee28131f09b43bc28993f7f59a99041936ee85e6477e89450838ce858ffb9af67422fd0745a1867ace795229fcef791c verificationGasLimit: 306439 Details: UserOperation reverted with reason: AA34 signature error Version: 2.21.12 ❯ getUserOperationError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/account-abstraction/utils/errors/getUserOperationError.ts:68:10 ❯ sendUserOperation ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/account-abstraction/actions/bundler/sendUserOperation.ts:160:11 ❯ tests/eth_getUserOperationReceipt.test.ts:147:24 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'UserOperation reverted with reason: AA34 signature error', docsPath: undefined, metaMessages: [ 'This could arise when:', '- the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster', ' ', 'Request Arguments:', ' callData: 0xb61d27f600000000000000000000000023b608675a2b2fb1890d3abbd85c5775c51691d5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000\n callGasLimit: 120317\n factory: 0x91E60e0613810449d098b0b5Ec8b51A0FE8c8985\n factoryData: 0x5fbfb9cf0000000000000000000000006b833623fde1099fe9d80723815347ae52fdd4680000000000000000000000000000000000000000000000000000000000000000\n maxFeePerGas: 49.367465996 gwei\n maxPriorityFeePerGas: 1 gwei\n nonce: 31959449948753234319697567023104\n paymaster: 0xA8D50f7f97064937dAB4e0Ec6380D62185CccD3D\n paymasterPostOpGasLimit: 500000\n paymasterVerificationGasLimit: 1500000\n preVerificationGas: 53715\n sender: 0x3A461f6c8D374092936b8eF40E58c4314435E941\n signature: 0xc237626f1403fb4121f1bd7a7e7487d2ccee28131f09b43bc28993f7f59a99041936ee85e6477e89450838ce858ffb9af67422fd0745a1867ace795229fcef791c\n verificationGasLimit: 306439' ], shortMessage: 'Signature provided for the User Operation is invalid.', version: '2.21.12', walk: 'Function<walk>' } Caused by: UserOperationPaymasterSignatureError: Signature provided for the User Operation is invalid. This could arise when: - the `signature` for the User Operation is incorrectly computed, and unable to be verified by the Paymaster Details: UserOperation reverted with reason: AA34 signature error Version: 2.21.12 ❯ getBundlerError ../../node_modules/.pnpm/[email protected][email protected]/node_modules/viem/account-abstraction/utils/errors/getBundlerError.ts:238:12
docker-e2e
Process completed with exit code 1.