Agoric / dapp-inter

User application for Agoric Inter Protocol—Vaults, BLD Boost, Liquidations, etc.
2 stars 10 forks source link

feat: batch chain storage query library #135

Closed samsiegart closed 1 year ago

samsiegart commented 1 year ago

refs https://github.com/Agoric/agoric-sdk/issues/6870

This is in its own directory so that it's more portable. It will be copy-pasted into other dapps, but eventually live in a reusable package.

Testing

Tested manually after rewiring dapp to use the client, as well as unit tests. NOTE - The wallet connection component in agoric-sdk doesn't use this lib yet, so if you connect your wallet then you'll see a lot of unnecessary rpc requests still.

github-actions[bot] commented 1 year ago

Network: Commit: a3ac8e26abe5ba531fb0aeb2acf81141b7498a78 Ref: refs/heads/main IPFS v1 hash: bafybeif7v6ek5a7sbmpe2m2mwze6vhciku4ei6t4ku23csbdy6zjywid3y CF - DWeb - 4EVERLAND

samsiegart commented 1 year ago

@turadg I see that you approved this already, but I just updated the PR to include migrating the dapp to use this library, removing casting as a (direct) dependency entirely. PTAL.