Agoric / ui-kit

Components and tools for building graphical UIs
https://ui-kit-dwm.pages.dev/
Apache License 2.0
3 stars 3 forks source link

Fix provision status bug #69

Closed samsiegart closed 7 months ago

samsiegart commented 7 months ago

The provision status for non-provisioned accounts was coming back as provisioned: false initially, but the next time it polled the status, it would treat the empty string value "" as a new value because it was comparing it to the JSON.stringify result of '""' which is different. This was a bug in @agoric/rpc because of the redundant update, which also exposed a bug in @agoric/web-components because it was always reporting the status as provisioned: true for subsequent updates, no matter what the value was. Fixed both.