f-o-a-m / kepler

A Haskell framework that facilitates writing ABCI applications
https://kepler.dev
Apache License 2.0
34 stars 10 forks source link

Generate http client for submitting transactions from app type #198

Closed martyall closed 4 years ago

martyall commented 4 years ago

We should be able to generate an http client for an application from the application type that can handle both querying state and submitting transactions. We can already do this for querying state https://github.com/f-o-a-m/hs-abci/blob/master/hs-abci-test-utils/src/Tendermint/Utils/Client.hs#L48

This would allow us to avoid manually constructing requests using the RPC library directly, as well as further standardize how we do tests.

martyall commented 4 years ago

fixed by #200