0g-chain/x/community/keeper
Nick DeLuca 57a1a4b10d
Community Param Updates (#1741)
* refactor param validation test cases to be shared by genesis and params
tests

* add additional test case for zero staking rewards in order to ensure
no regressions in support for turning off rewards

* add test case to ensure default params are valid -- prevent regression
if defaults change to an invalid state during updates of validation or
defaults

* zero out parameters in migration -- this module will be used with
existing chains and parameters should be set after migrations in
each upgrade handler

* update StakingRewardsPerSecond to an 18 decimal type in order to
reduce error

* add community grpc rest endpoints to swagger

* Fix copy pasta query name to refer to correct Community module

Co-authored-by: drklee3 <derrick@dlee.dev>

* generate swagger changes from previous commit

---------

Co-authored-by: drklee3 <derrick@dlee.dev>
2023-09-26 10:08:26 -07:00
..
grpc_query_test.go Community Param Updates (#1741) 2023-09-26 10:08:26 -07:00
grpc_query.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
keeper_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
keeper.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
migrations.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
msg_server_test.go Update deprecated Cosmos methods (#1530) 2023-04-05 16:21:59 -07:00
msg_server.go add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08:00
params_test.go Community Param Updates (#1741) 2023-09-26 10:08:26 -07:00
params.go feat(community): add switchover param (#1704) 2023-09-22 09:05:12 -07:00
proposal_handler_test.go feat: add community cdp withdraw collateral proposal (#1567) 2023-04-20 16:08:53 -07:00
proposal_handler.go feat: add community cdp withdraw collateral proposal (#1567) 2023-04-20 16:08:53 -07:00