Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
329 stars 208 forks source link

batch polling queries in Casting cosmjs follower #7155

Open turadg opened 1 year ago

turadg commented 1 year ago

What is the Problem Being Solved?

Casting makes a separate HTTP request for each abci_query.

Description of the Design

Use HttpBatchClient to make n queries per request. When polling all pending requests within the polling interval are made together.

Security Considerations

Scaling Considerations

Test Plan

wallet-app makes one request per polling interval.

dckc commented 1 year ago

This should help address...