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

Update reef-knot to v2 #265

Conversation

alx-khramov
Copy link
Contributor

@alx-khramov alx-khramov commented Mar 4, 2024

Description

Updates Reef Knot to v2, which includes these changes:
lidofinance/reef-knot#119
Basically, it is about:

  1. Removing web3-react library and other legacy code from Reef Knot
  2. Reworking our autoconnect logic

Code review notes

lido-sdk dependencies are completely removed from Reef Knot, but the widget is still using them, so I had to move ProviderSDK from '@lido-sdk/react' setup to the widget level. Hopefully it will be removed in the future.

Testing notes

Please, check all the basic transactions too, because I had to rework the setup of the lido-sdk, which is used for transactions.

Update

reef-knot was updated to 2.1.0, which includes these changes: lidofinance/reef-knot#123
Resolves SI-1298 : maticmum(polygon mumbai test network) was hidden.
Changed the code of wallet disconnect functions, minor update of the autoconnection logic. No changes visible for users.
Added some methods, needed for @Jeday

Checklist:

  • Checked the changes locally.
  • Created / updated analytics events.
  • Created / updated the technical documentation (README.md / docs / etc.).
  • Affects / requires changes in other services (Matomo / Sentry / CloudFlare / etc.).

@alx-khramov alx-khramov self-assigned this Mar 4, 2024
@alx-khramov alx-khramov requested review from a team as code owners March 4, 2024 13:53
@alx-khramov alx-khramov changed the title feat: update reef-knot to v2 Update reef-knot to v2 Mar 4, 2024
@preview-stands
Copy link

preview-stands bot commented Mar 4, 2024

Preview stand status

Stand was demolished

Jeday
Jeday previously approved these changes Mar 6, 2024
providers/web3.tsx Outdated Show resolved Hide resolved
Jeday
Jeday previously approved these changes Mar 7, 2024
Jeday
Jeday previously approved these changes Mar 11, 2024
solidovic
solidovic previously approved these changes Mar 11, 2024
wagmi client was rebuilding because supportedChains wasn't memoized
@alx-khramov alx-khramov dismissed stale reviews from solidovic and Jeday via d13776a March 12, 2024 12:57
@jake4take jake4take merged commit f402657 into develop Mar 13, 2024
6 checks passed
@jake4take jake4take deleted the feature/si-1300-update-reef-knot-to-v2-on-eth-stake-widget-wagmi-autoconnect branch March 13, 2024 07:00
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.

4 participants