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

fix: validate set default chain #1826

Merged
merged 4 commits into from
Jan 3, 2023
Merged

Conversation

ganchoradkov
Copy link
Member

Description

When setDefaultChain is called before connect() in the universal-provider unnecessary exception is thrown.
Additionally, I've added more descriptive error message for chain validation + test

Resolves # (browse or create)

How Has This Been Tested?

npm run test

Due Dilligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@ganchoradkov ganchoradkov added type: bug Something isn't working type: enhancement New feature or request labels Jan 2, 2023
@ganchoradkov ganchoradkov self-assigned this Jan 2, 2023
@ganchoradkov ganchoradkov requested a review from xzilja January 2, 2023 14:53
@arein arein added the accepted label Jan 2, 2023
@ganchoradkov ganchoradkov merged commit 8ede0b2 into v2.0 Jan 3, 2023
@ganchoradkov ganchoradkov deleted the fix/validate-set-default-chain branch January 3, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted type: bug Something isn't working type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants