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

The Top Up section is empty if custom network host is used #469

Closed
skambalin opened this issue Jul 6, 2022 · 2 comments · Fixed by torusresearch/torus-website#2011
Closed
Assignees

Comments

@skambalin
Copy link

Describe the bug
If during the @toruslabs/torus-embed initialization a custom network host was provided the Top Up section of the wallet application is empty.

To Reproduce
Steps to reproduce the behavior:

  1. Initialize @toruslabs/torus-embed with custom network host URL
await this.torusEmbed.init({
  ...
  network: {
    host: 'https://polygon-mumbai.infura.io/v3/...',
    chainId: '...',
  },
});
  1. Open Top Up section in the wallet application
  2. The Top Up section is empty

Expected behavior
The Top Up section shows the list of supported providers or an error message that Top Up is not supported

Screenshots
TorusTopupSectionBug

Desktop (please complete the following information):

  • OS: macOS Monterey
  • Browser: Google Chrome Version 103.0.5060.53 (Official Build) (x86_64)
@skambalin
Copy link
Author

It seems to be related to this commit:
torusresearch/torus-website@1b9dfe3

@BboyStatix
Copy link

Thanks for describing the issue in detail as well as narrowing down the commit that caused the problem @skambalin. Should be resolved by this PR torusresearch/torus-website#2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants