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

Audit chain queries #53

Closed samsiegart closed 8 months ago

samsiegart commented 10 months ago

What is the Problem Being Solved?

There are multiple ways to query on-chain data between rpc, grpc, json api etc. We should make sure that the dapps (and keplr) are querying the agoric chain in a future-proof way that will not break for any impending chain software upgrades. If the query implementation needs to change, we need to identify a future-proof way to do the same queries while staying under 2qps for current dapps and limiting bandwidth consumption.

Description of the Design

Schedule a meeting between @samsiegart , @gibson042 , and @michaelfig to audit the dapp/keplr queries as described above, and fix as needed

samsiegart commented 10 months ago

Meeting Notes:

gibson042 commented 10 months ago

Dapp batch queries i.e. https://github.com/Agoric/ui-kit/blob/main/packages/rpc/src/batchQuery.ts are going to be unsupported in future cosmos sdk versions for paths starting with /custom/....

FWIW, note that batch queries with /agoric… paths will remain supported.