Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetCounterFactualAddressError #1119

Open
JoseMiguelHerrera opened this issue Oct 31, 2024 · 1 comment
Open

GetCounterFactualAddressError #1119

JoseMiguelHerrera opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JoseMiguelHerrera
Copy link

Thanks for filling out this bug report. Please provide as much detail as possible.

If your issue is with our RPC APIs and not the SDK please report your issue on (discord)[https://alchemy.com/discord].

[REQUIRED] Environment

  • Browser version: Not in browser / TS
  • AA SDK version: 4.2
  • Package: @account-kit/smart-contracts

[REQUIRED] Describe the problem

How to reproduce:

I'm simply trying to do this
https://accountkit.alchemy.com/reference/account-kit/smart-contracts/functions/createModularAccountAlchemyClient#createmodularaccountalchemyclient

creating the client.

No matter what I do, I get the same error:
throw new GetCounterFactualAddressError();
^

GetCounterFactualAddressError: getCounterFactualAddress failed

Relevant code or sample repro:

https://accountkit.alchemy.com/reference/account-kit/smart-contracts/functions/createModularAccountAlchemyClient#createmodularaccountalchemyclient

@JoseMiguelHerrera JoseMiguelHerrera added the bug Something isn't working label Oct 31, 2024
@moldy530
Copy link
Collaborator

this is usually the case because an RPC request fails, can you check your network tab and confirm that there's no network errors during intialization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants