For the chain storage watcher, no longer use the deprecated RPC method to query vstorage. Instead, use the JSON API. There's a lot of ways to handle the query logic, but for now this just keeps the same internal logic and makes a shotgun of requests instead of a batch query. Bandwidth consumption seems roughly similar after increasing the polling period a bit, and the increased request count should have minimal impact with connection coalescing.
Also, updates the wallet connection component because it was relying on the watcher having an RPC node.
refs: https://github.com/Agoric/ui-kit/issues/53
For the chain storage watcher, no longer use the deprecated RPC method to query vstorage. Instead, use the JSON API. There's a lot of ways to handle the query logic, but for now this just keeps the same internal logic and makes a shotgun of requests instead of a batch query. Bandwidth consumption seems roughly similar after increasing the polling period a bit, and the increased request count should have minimal impact with connection coalescing.
Also, updates the wallet connection component because it was relying on the watcher having an RPC node.
Updated unit tests and validated with https://github.com/Agoric/dapp-inter/pull/209 locally using yarn link