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

write iavl interpreter for RawStore #173

Closed martyall closed 4 years ago

martyall commented 4 years ago

There is docker image you can get here to run it as a service https://hub.docker.com/repository/docker/foamspaceorg/iavl

(@blinky3713 fill in details on how to start the container)

> docker run -p 8090:8090 -p 8091:8091 foamspace/iavl:latest /iavlserver -db-name DATABASE_NAME -datadir "." -grpc-endpoint "0.0.0.0:8090" -gateway-endpoint "0.0.0.0:8091"

We will need to also add this to the compose file(s) for the example apps

There's gonna be some work to take care of the Scoped RawStore stuff. If it's unclear, ask @blinky3713

What about the cache? In the case of checkTx throw it away, in the case of deliverTx throw it away at the end of processing.

charlescrain commented 4 years ago

https://github.com/f-o-a-m/hs-abci/pull/188