urbit / bridge

An application for interacting with Azimuth.
MIT License
96 stars 25 forks source link

invite: clear stored invite from cache on reticket #1013

Closed tomholford closed 2 years ago

tomholford commented 2 years ago

Context

Previously, when a reticket is performed with a stale invite in the cache, the old ticket value will be used instead of the newly generated value when creating the invite wallet.

This change:

Two potential flows that lead to reticket

L2 Invite --> Restored to Owner --> Reticketed

  1. using a monkeypatched local Bridge, select an L2 star and generate an invite. confirm visibility in invites view, which also caches it in localstorage
  2. restore the invite to original owner
  3. using the bugfix branch local Bridge, select Update Invites ... select the planet to reticket
  4. confirm visibility in invites view

Spawned --> Reticketed

  1. select an L2 star, spawn a new planet under Star Ops
  2. from the family view, select Update Invites and select the newly spawned planet
  3. confirm visibility in the Invites View