-
Notifications
You must be signed in to change notification settings - Fork 208
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
WalletFactory survive upgrades and repair outstanding purses and offers #8773
Merged
+1,301
−430
Commits on Jan 19, 2024
-
feat: smartWallet verstion 2 with watchedPromises
pulled offers.js and payments.js into smartWallet.js as they shared plenty of state that needs to be durable in order to be callable from the watchedPromise. build an upgrade proposal; tested in Agoric/agoric-3-proposals#34
Configuration menu - View commit details
-
Copy full SHA for 24527bb - Browse repository at this point
Copy the full SHA 24527bbView commit details -
fix(smartWallet): handle upgrade disconnects from purse notifiers
observeNotifier() would handle upgrade disconnects if the notifiers were durable. But in @agoric/ertp, they're ephemeral, so we open-code the loop. When the offerWatchers detect an upgrade, they reschedule the watchers. We needed to ensure the wallet itself doesn't do its cleanup in that case. The test updates purse balance across upgrade - provision a smartWallet for an oracle operator - upgrade zoe; reproduce smartWallet bug - check for new invitation
Configuration menu - View commit details
-
Copy full SHA for 41287a6 - Browse repository at this point
Copy the full SHA 41287a6View commit details -
feat: include invitation purses in repairUnwatchedPurses
Configuration menu - View commit details
-
Copy full SHA for be1b237 - Browse repository at this point
Copy the full SHA be1b237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ef5861 - Browse repository at this point
Copy the full SHA 9ef5861View commit details -
Configuration menu - View commit details
-
Copy full SHA for d262617 - Browse repository at this point
Copy the full SHA d262617View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce2bf57 - Browse repository at this point
Copy the full SHA ce2bf57View commit details -
chore: punt other another wallet test file
covered better by a3p integration tests
Configuration menu - View commit details
-
Copy full SHA for 5d0194e - Browse repository at this point
Copy the full SHA 5d0194eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03ef418 - Browse repository at this point
Copy the full SHA 03ef418View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfe4d21 - Browse repository at this point
Copy the full SHA dfe4d21View commit details -
Configuration menu - View commit details
-
Copy full SHA for d58948e - Browse repository at this point
Copy the full SHA d58948eView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.