Closed Fraccaman closed 2 years ago
Also fixes anoma/namada#120
pls update wasm
pls restart ci
I'm thinking we could maybe speed up the e2e proposal_submission test - in the setup (let test = setup::network(|genesis| genesis, None)?;
), we could modify the genesis to have shorter min_proposal_period
and min_proposal_grace_epochs
In apps/src/lib/client/rpc.rs
, the offline tally get_proposal_offline_votes
is missing slashes for delegator's bonds. I think we need something like this: https://github.com/anoma/anoma/commit/dad75398b30539e2da8e15db970bdcc2e32ee094. I also refactored the last bit to update the maps with https://doc.rust-lang.org/std/collections/hash_map/struct.HashMap.html#method.entry
Ideally, this should really be hidden behind PoS API as the data from PoS is hard to query atm. I think we can solve it in future with some common interface for storage direct access and client RPC queries