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: watch ERTP purse balances across zoe upgrades #8573

Closed
wants to merge 1 commit into from

Commits on Jan 10, 2024

  1. 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
    dckc authored and Chris-Hibbert committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    20e1a9a View commit details
    Browse the repository at this point in the history