refactor OwnableExecutor module & fixed tests #127
Annotations
7 errors
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/account.read.test.ts:96:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { internalType: 'address', name: '
|
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/account.write.test.ts:57:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { internalType: 'address', name:
|
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/modules.k1Validator.write.test.ts:63:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { internalType: 'addr
|
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/modules.ownableValidator.install.write.test.ts:57:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { intern
|
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/modules.ownableValidator.uninstall.write.test.ts:57:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { inte
|
Run the tests:
src/account/NexusSmartAccount.ts#L284
ContractFunctionExecutionError: The contract function "computeAccountAddress" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "computeAccountAddress",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Contract Call:
address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b
function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)
Docs: https://viem.sh/docs/contract/readContract
Version: viem@2.13.1
❯ getContractError node_modules/viem/utils/errors/getContractError.ts:72:10
❯ readContract node_modules/viem/actions/public/readContract.ts:128:11
❯ NexusSmartAccount.getAddress src/account/NexusSmartAccount.ts:284:30
❯ NexusSmartAccount._isDeployed src/account/BaseSmartContractAccount.ts:201:16
❯ NexusSmartAccount.getInitCode src/account/BaseSmartContractAccount.ts:211:24
❯ NexusSmartAccount.getDeploymentState src/account/BaseSmartContractAccount.ts:282:24
❯ Module.create src/account/NexusSmartAccount.ts:276:5
❯ tests/smart.sessions.test.ts:64:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'This could be due to any of the following:', ' - The contract does not have the function "computeAccountAddress",', ' - The parameters passed to the contract function may be invalid, or', ' - The address is not a contract.', ' ', 'Contract Call:', ' address: 0xB0D70f13903f3Eb5D378dD6A5aC4E755Fc13dC1b\n function: computeAccountAddress(address eoaOwner, uint256 index, address[] attesters, uint8 threshold)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0, [], 0)' ], shortMessage: 'The contract function "computeAccountAddress" returned no data ("0x").', version: 'viem@2.13.1', abi: [ { inputs: [ { internalType: 'address', name: 'implementation', type: 'address' }, { internalType: 'address', name: 'factoryOwner', type: 'address' }, { internalType: 'address', name: 'k1Validator', type: 'address' }, { internalType: 'contract Bootstrap', name: 'bootstrapper', type: 'address' }, { internalType: 'contract IERC7484', name: 'registry', type: 'address' } ], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'AlreadyInitialized', type: 'error' }, { inputs: [], name: 'InnerCallFailed', type: 'error' }, { inputs: [], name: 'InvalidEntryPointAddress', type: 'error' }, { inputs: [], name: 'NewOwnerIsZeroAddress', type: 'error' }, { inputs: [], name: 'NoHandoverRequest', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { inputs: [], name: 'ZeroAddressNotAllowed', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'account', type: 'address' }, { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'uint256', name: 'index', type: 'uint256' } ], name: 'AccountCreated', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverCanceled', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'pendingOwner', type: 'address' } ], name: 'OwnershipHandoverRequested', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address' } ], name: 'OwnershipTransferred', type: 'event' }, { inputs: [], name: 'ACCOUNT_IMPLEMENTATION', outputs: [ { internalType: 'address', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'BOOTSTRAPPER', outputs: [ { internalType: 'contract Bootstrap', name: '', type: 'address' } ], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'K1_VALIDATOR', outputs: [ { internalType: 'address', name:
|
Run the tests
Process completed with exit code 1.
|
Loading