namada
namada copied to clipboard
RPC: add PoS queries
closes #19
based on v0.9.0
This PR adds new PoS sub-router (https://github.com/anoma/namada/blob/tomas/rpc-sub-vp-pos/shared/src/ledger/queries/vp/pos.rs#L15) with handlers implemented using trait PosReadOnly. These are then used to replace the gov utils functions for on-chain proposal votes and tallying and client tx/rpc for offline proposals to hide PoS implementation details.
pls update wasm
pls update wasm