Skip to content

feat: transfer mint in demo app #3850

feat: transfer mint in demo app

feat: transfer mint in demo app #3850

Triggered via pull request September 27, 2024 15:44
@RobChangCARobChangCA
synchronize #983
rob/mint
Status Failure
Total duration 5m 57s
Artifacts

on-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 warnings
src/light-account/clients/client.test.ts > Light Account Tests > should upgrade a deployed light account to msca successfully: account-kit/smart-contracts/src/msca/utils.ts#L221
ContractFunctionExecutionError: The contract function "pluginManifest" reverted with the following reason: EVM error InvalidJump Contract Call: address: 0xcE0000007B008F50d762D155002600004cD6c647 function: pluginManifest() Docs: https://viem.sh/docs/contract/readContract Version: 2.20.0 ❯ getContractError ../../node_modules/viem/utils/errors/getContractError.ts:72:10 ❯ readContract ../../node_modules/viem/actions/public/readContract.ts:136:11 ❯ getMAInitializationData src/msca/utils.ts:221:28 ❯ Module.getMSCAUpgradeToData src/msca/utils.ts:134:20 ❯ src/light-account/clients/client.test.ts:339:51 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'Contract Call:', ' address: 0xcE0000007B008F50d762D155002600004cD6c647\n function: pluginManifest()' ], shortMessage: 'The contract function "pluginManifest" reverted with the following reason:\nEVM error InvalidJump', version: '2.20.0', abi: [ { type: 'function', name: 'onInstall', inputs: [ { name: 'data', type: 'bytes', internalType: 'bytes' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'onUninstall', inputs: [ { name: 'data', type: 'bytes', internalType: 'bytes' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'pluginManifest', inputs: [], outputs: [ { name: '', type: 'tuple', internalType: 'struct PluginManifest', components: [ { name: 'interfaceIds', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'dependencyInterfaceIds', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'executionFunctions', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'permittedExecutionSelectors', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'permitAnyExternalAddress', type: 'bool', internalType: 'bool' }, { name: 'canSpendNativeToken', type: 'bool', internalType: 'bool' }, { name: 'permittedExternalCalls', type: 'tuple[]', internalType: 'struct ManifestExternalCallPermission[]', components: [ { name: 'externalAddress', type: 'address', internalType: 'address' }, { name: 'permitAnySelector', type: 'bool', internalType: 'bool' }, { name: 'selectors', type: 'bytes4[]', internalType: 'bytes4[]' } ] }, { name: 'userOpValidationFunctions', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'runtimeValidationFunctions', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'preUserOpValidationHooks', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'preRuntimeValidationHooks', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction',
src/light-account/clients/multiOwnerLightAccount.test.ts > MultiOwner Light Account Tests > should upgrade a deployed multi owner light account to msca successfully: account-kit/smart-contracts/src/msca/utils.ts#L221
ContractFunctionExecutionError: The contract function "pluginManifest" reverted with the following reason: EVM error InvalidJump Contract Call: address: 0xcE0000007B008F50d762D155002600004cD6c647 function: pluginManifest() Docs: https://viem.sh/docs/contract/readContract Version: 2.20.0 ❯ getContractError ../../node_modules/viem/utils/errors/getContractError.ts:72:10 ❯ readContract ../../node_modules/viem/actions/public/readContract.ts:136:11 ❯ getMAInitializationData src/msca/utils.ts:221:28 ❯ Module.getMSCAUpgradeToData src/msca/utils.ts:134:20 ❯ src/light-account/clients/multiOwnerLightAccount.test.ts:210:51 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'Contract Call:', ' address: 0xcE0000007B008F50d762D155002600004cD6c647\n function: pluginManifest()' ], shortMessage: 'The contract function "pluginManifest" reverted with the following reason:\nEVM error InvalidJump', version: '2.20.0', abi: [ { type: 'function', name: 'onInstall', inputs: [ { name: 'data', type: 'bytes', internalType: 'bytes' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'onUninstall', inputs: [ { name: 'data', type: 'bytes', internalType: 'bytes' } ], outputs: [], stateMutability: 'nonpayable' }, { type: 'function', name: 'pluginManifest', inputs: [], outputs: [ { name: '', type: 'tuple', internalType: 'struct PluginManifest', components: [ { name: 'interfaceIds', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'dependencyInterfaceIds', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'executionFunctions', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'permittedExecutionSelectors', type: 'bytes4[]', internalType: 'bytes4[]' }, { name: 'permitAnyExternalAddress', type: 'bool', internalType: 'bool' }, { name: 'canSpendNativeToken', type: 'bool', internalType: 'bool' }, { name: 'permittedExternalCalls', type: 'tuple[]', internalType: 'struct ManifestExternalCallPermission[]', components: [ { name: 'externalAddress', type: 'address', internalType: 'address' }, { name: 'permitAnySelector', type: 'bool', internalType: 'bool' }, { name: 'selectors', type: 'bytes4[]', internalType: 'bytes4[]' } ] }, { name: 'userOpValidationFunctions', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'runtimeValidationFunctions', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'preUserOpValidationHooks', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct ManifestFunction', components: [ { name: 'functionType', type: 'uint8', internalType: 'enum ManifestAssociatedFunctionType' }, { name: 'functionId', type: 'uint8', internalType: 'uint8' }, { name: 'dependencyIndex', type: 'uint256', internalType: 'uint256' } ] } ] }, { name: 'preRuntimeValidationHooks', type: 'tuple[]', internalType: 'struct ManifestAssociatedFunction[]', components: [ { name: 'executionSelector', type: 'bytes4', internalType: 'bytes4' }, { name: 'associatedFunction', type: 'tuple', internalType: 'struct Man
src/msca/client/client.test.ts > Modular Account Multi Owner Account Tests > should successfully get counterfactual address: account-kit/smart-contracts/src/msca/client/client.test.ts#L33
Error: Snapshot `Modular Account Multi Owner Account Tests > should successfully get counterfactual address 1` mismatched - Expected + Received - "0xE599B1c2cecFbAa007Bea0e6FBeD1dc1757fDd89" + "0x0000000000000000000000000000000000000000" ❯ src/msca/client/client.test.ts:33:35
src/msca/client/client.test.ts > Modular Account Multi Owner Account Tests > should successfully override fees and gas when using paymaster: account-kit/smart-contracts/src/msca/client/client.test.ts#L157
AssertionError: promise rejected "RpcRequestError: RPC Request failed. URL… { …(7) }" instead of resolving ❯ src/msca/client/client.test.ts:157:5 Caused by: Caused by: RpcRequestError: RPC Request failed. URL: http://127.0.0.1:8645/3 Request body: {"method":"eth_estimateUserOperationGas","params":[{"initCode":"0x000000e92D78D90000007F0082006FDA09BD5f11738767320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e000000000000000000000000863b059f4a358e72647cd02b364caafedd1225a1","sender":"0x0000000000000000000000000000000000000000","nonce":"0x0","callData":"0xb61d27f60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000","signature":"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c","paymasterAndData":"0xDF4C7a1DF1B294b0319F8b97CE0e4Fdc7A3c4D83fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c","maxFeePerGas":"0x1","maxPriorityFeePerGas":"0x1"},"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"]} Details: validation reverted: [reason]: AA13 initCode failed or OOG Version: 2.20.0 ❯ request ../../node_modules/viem/clients/transports/http.ts:132:19 ❯ withRetry.delay.count.count ../../node_modules/viem/utils/buildRequest.ts:118:22 ❯ attemptRetry ../../node_modules/viem/utils/promise/withRetry.ts:44:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { details: 'validation reverted: [reason]: AA13 initCode failed or OOG', docsPath: undefined, metaMessages: [ 'URL: http://127.0.0.1:8645/3', 'Request body: {"method":"eth_estimateUserOperationGas","params":[{"initCode":"0x000000e92D78D90000007F0082006FDA09BD5f11738767320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000020000000000000000000000003f1eae7d46d88f08fc2f8ed27fcb2ab183eb2d0e000000000000000000000000863b059f4a358e72647cd02b364caafedd1225a1","sender":"0x0000000000000000000000000000000000000000","nonce":"0x0","callData":"0xb61d27f60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000","signature":"0xfffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c","paymasterAndData":"0xDF4C7a1DF1B294b0319F8b97CE0e4Fdc7A3c4D83fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000007aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1c","maxFeePerGas":"0x1","maxPriorityFeePerGas":"0x1"},"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"]}' ], shortMessage: 'RPC Request failed.', version: '2.20.0', code: -32500, walk: 'Function<walk>' }
Build and Test
Process completed with exit code 1.
Enforce PR Title Format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Enforce PR Title Format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build and Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/