-
Notifications
You must be signed in to change notification settings - Fork 5
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 WAGMI, viem and RainbowKit #590
Comments
Taking a look at the old PR to assert changes and see if they are salvageable or if I need to start from scratch |
Moved this back to Ready since I'm working on the higher priority bug |
Resuming work. Gonna inspect #514 for ideas on the implementation of the update |
🟢 [UPDATE] While reviewing the PR changes were way too many and hard to follow since there's just a single commit for the whole set of changes. Instead what I ended up doing is a more hands-on approach where I start applying the changes myself to the latest stage of the repo. Still tinkering a bit but leaving an update of what I'm doing to keep communication fluid 💪 |
Upgrading rainbowkitUpgrading the This is coherent with their An unexpected peerDependency appeared with |
Resuming work by doing the update by myself using #514 as reference |
Instead of troubleshooting in the dark fixing things like the one below I'm gonna rely on Rainbowkit's migration guide |
After running yarn upgrade @rainbow-me/rainbowkit@2 wagmi@2 [email protected] We got all the latest versions as shown on this message with a few minor version's offset:
|
By looking at Note This is mostly because we are not using EDIT: However by looking at Simo's changes we might need to use some |
HOW TO DRILL DOWN THE CHANGES The repo has the whole e2e flow by integrating stories that would act like the end user of the library (in our case, the SBT app). So starting from the end user, how do changes affect the pipeline? StoriesAs on the SBT app, they import 2 key elements:
MasaProviderOne important thing to mention is that The proposed solution on #514 was to just move it to:
Further detail of the changes will be given later 💪 Custom hooksFrom a high-level perspective, it seems that only syntax changes are required and minor tweaks such as how internal functions/hooks are used and called. Will dive into that later as well |
I'm a bit stuck with this task, gonna put it back to the ready column and take something else to get back to rhythm and come with a fresh mind to go at it again later 💪 |
Gonna do some pairing with @obasilakis here to move things forward 💪 |
Pushed the changes I'm most certain to be good, have some others stashed locally but at least have them pushed so its visible for everyone at:
|
🟢 [UPDATE] Got story to work with new provider
NEXT STEPS
Code is available here: |
🟢 [UPDATE] Splitting work with @obasilakis Gonna split the work as such:
|
Since this task no longer blocks masa-finance/masa-next-sbt#1444 due to the new findings and development cannot be finished in a couple of more hours, we dropped its priority and we moved it to the |
The above libs are outdated and need to be updated to support newer wallets like phantom
The text was updated successfully, but these errors were encountered: