feat: transfer mint in demo app #3848
Annotations
5 errors and 1 warning
Unit Test:
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',
|
Unit Test:
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
|
Unit Test:
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
|
Unit Test:
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>' }
|
Unit Test
Process completed with exit code 1.
|
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/
|
Loading