Jacob Gadikian
09ddb3e367
gofumpt - apply format changes for readability and consistency ( #1248 )
2022-05-09 11:37:36 -07:00
Ruaridh
ffef832d45
Upgrade to sdk v0.44.5 and add IBC ( #1106 )
...
- Upgrade cosmos-sdk to v0.44.5 from v0.39.2
- Add Legacy Tx Endpoint for backwards compatibility
- Add IBC v1.2.3 Support
Co-authored-by: DracoLi <draco@dracoli.com>
Co-authored-by: drklee3 <derrick@dlee.dev>
Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: Draco Li <draco@kava.io>
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
2022-01-07 17:39:27 -07:00
Denali Marsh
b9c59c728b
Committee module: query next proposal ID ( #1019 )
...
* next-proposal-id cli query
* fix spelling in comments
* next-proposal-id rest query
2021-09-17 14:45:37 -06:00
Denali Marsh
cae7503f7b
Token holder governance ( #917 )
...
* Committee types (#899 )
* committee types
* refactor to committee interface
* include tokencommitee stringer method
* add members to BaseCommittee
* address revisions
* update querier
* update querier
* fix compilation errors, tests, etc.
* Update MsgVote with vote type (#900 )
* add vote to msg
* update querier/rest
* update example cli vote msg
* remove incorrect comments
* address revisions
* update handler, stub keeper method
* add vote type to vote struct
* Committee module keeper logic for token holder governance (#902 )
* fix keeper/test compilation errors
* fix keeper/test compilation errors pt 2
* add setters to committee interface
* fix sims compilation errors
* fix incentive tests compilation errors
* update types, expected keepers
* core keeper logic
* don't allow bond denom
* implement vote tallying
* query proposal polling status
* update module keepers in app.go
* register committee interface
* fix failing incentive test
* commitee types tests
* refactor GetProposalResult by committee types
* update invariants
* implement most proposal keeper tests
* add nulls to custom enums
* remove abstain vote type
* add test for close proposal
* remove outdated TODOs
* update ProcessProposals
* switch on committee type directly
* reintroduce Abstain votes and update vote tallying
* don't allow divide by 0 panics
* delete unused setters on committee interface
* clean up tally methods return values for querier
* update enum validation to catch negative ints
* reintroduce setters for sims compilation
* address revisions
* remove commented out test
* implement ProcessProposals test
* additional revisions
* Committee migrations (#909 )
* add committee v14 legacy types
* update migration imports for compile
* addRegisterCodec() to committee v14 legacy types
* migrate committee genesis state from v14 to v15
* set stability committee permissions properly
* fix committee allowed params
* migration test, kava-7 sample data
* add concrete types to committees (#911 )
* revisions: migrate + tests
* register msgs on legacy codec
* Prepare Committee module for migrations (#906 )
* remove invariants
* edits
* fix abci test
* fix keeper querier tests
* add committee interface registration
* use codec.Codec
* don't allow null vote types
* don't allow null tally option
* minor spelling fixes
* update example cli proposal
* fix cli tally query
* enable vote abstain from cli
* include vote options in cli help text
* call CloseProposal from handler
* custom enum marshaling
* committee: fix failing tests (#921 )
* fix failing tests
* fix: spelling
Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2021-06-07 18:08:03 +02:00
Nick DeLuca
a68ef74b07
Query old blocks for proposals in CLI ( #598 )
...
* move file to query.go (we are adding functionality so specific name
doesn't fit anymore)
* Add tx search for proposals in cli query proposal
* add rest support, height support for rest api, and add go doc string
* add in deadline calculation
* update changelog
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
2020-06-29 19:39:35 -04:00
rhuairahrighairigh
ebb6366837
address various pr comments
2020-04-25 00:22:56 +01:00
rhuairahrighairigh
733711c88c
add query committee cmd
2020-04-24 23:16:04 +01:00
Ruaridh
73dc488239
Apply suggestions from code review
...
Co-Authored-By: Denali Marsh <denali@kava.io>
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
2020-04-24 19:15:57 +01:00
rhuairahrighairigh
4298564096
address minor TODOs
2020-03-30 14:06:31 +01:00
rhuairahrighairigh
ace9a2363e
address TODOs
2020-03-29 21:05:08 +01:00
rhuairahrighairigh
eefda597f0
tidy up and test client
2020-03-23 20:57:15 +00:00
rhuairahrighairigh
b31cfbe39b
add gov client handlers
2020-03-23 14:32:50 +00:00
rhuairahrighairigh
62da823314
add untested rest
2020-03-14 01:16:45 +00:00