Skip to content

Conversation

joaquim-verges
Copy link
Member

Problem solved

There was a potential code path that would attempt to get the signer after autoconnect where the user is not in the initialized state, resulting in getAddress returning the last saved address but the signer failing to initialize. Fixed that by enforcing that getUser() always returns a initialized user or throw, and syncing the getAddress() and getSigner() calls.

Changes made

  • Public API changes: list the public API changes made if any
  • Internal API changes: explain the internal logic changes

How to test

  • Automated tests: link to unit test file
  • Manual tests: step by step instructions on how to test

@joaquim-verges joaquim-verges requested a review from a team November 18, 2023 07:13
Copy link

changeset-bot bot commented Nov 18, 2023

🦋 Changeset detected

Latest commit: 0ca0d12

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@thirdweb-dev/wallets Patch
@thirdweb-dev/auth Patch
thirdweb Patch
@thirdweb-dev/react-core Patch
@thirdweb-dev/react-native Patch
@thirdweb-dev/react Patch
@thirdweb-dev/unity-js-bridge Patch
@thirdweb-dev/react-native-compat Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@joaquim-verges joaquim-verges added this pull request to the merge queue Nov 18, 2023
Merged via the queue into main with commit 6832b19 Nov 18, 2023
@joaquim-verges joaquim-verges deleted the joaquim/ew_race_condition branch November 18, 2023 07:22
@github-actions github-actions bot mentioned this pull request Nov 18, 2023
jnsdls added a commit that referenced this pull request Jun 19, 2024
…inSlug (#1977)

* refactor: Refactor contractInfo assignment and add null check for chainSlug

* refactor: Remove unnecessary comment
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 this pull request may close these issues.

1 participant