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

Unsupported network error when initializing custom chain in Prime SDK [BUG] #73

Closed
0xAnto opened this issue Nov 22, 2023 · 1 comment · Fixed by #74
Closed

Unsupported network error when initializing custom chain in Prime SDK [BUG] #73

0xAnto opened this issue Nov 22, 2023 · 1 comment · Fixed by #74
Assignees
Labels
bug Something isn't working

Comments

@0xAnto
Copy link

0xAnto commented Nov 22, 2023

Describe the bug

I am encountering an "Unsupported network" error when attempting to initialize a custom chain using the Prime SDK. This issue seems to occur during the initialization process with the provided configuration.

Expected behavior

I expected the Prime SDK to successfully initialize the custom chain with the provided parameters, connecting to the specified network without encountering an "Unsupported network" error.

Steps to reproduce

  1. Initialize the Prime SDK with the following configuration:
   { privateKey: process.env.WALLET_PRIVATE_KEY },
   {
      chainId: 49088,
      projectKey: 'public-prime-testnet-key',
      entryPointAddress: '0x793949275B35D3E394f5C218DC88ae6C7D04a252',
      bundlerRpcUrl: 'https://bifrost-testnet-bundler.kanalabs.io/',
      factoryWallet: Factory.ETHERSPOT,
      walletFactoryAddress: '0x91037ED7B25d72F61B80D4376C0E66680997Ce5E',
   },
);
  1. Observe the "Unsupported network" error during initialization.

Additional context

code

image

error

image

Operating system

Windows

Prime SDK version or commit hash

v1.3.12

@ch4r10t33r ch4r10t33r added the bug Something isn't working label Nov 22, 2023
@ch4r10t33r
Copy link
Member

Thanks for reporting @0xAnto . We should have a fix ready for this shortly.

@ch4r10t33r ch4r10t33r linked a pull request Nov 22, 2023 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

3 participants