0g-chain/x/savings
Denali Marsh eaeaf20e83
Incentive savings hooks + init/sync of savings claims (#1209)
* update savings module macc balances getter

* add savings keeper to incentive module

* add savings keeper to incentive module #2

* savings reward syncing

* claim savings reward

* update txs, queries

* update txs, queries #2

* update claim test

* add savings keeper to incentive module in app.go

* re-commit files to disk

* define and call hooks

* keeper methods for init/sync savings reward

* update other tests for easier extendibility

* init savings reward test

* add helper methods to global incentive unit tester

* sync savings test progress

* savings init fix + completed tests

* sync savings updates + tests

* nit: simplify false check

* fix: calculate set difference of incoming deposit denoms

Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 16:19:03 +02:00
..
client/cli Savings module withdrawals (#1197) 2022-03-28 13:53:42 +02:00
keeper Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
types Implement savings module hooks interface/types (#1202) 2022-03-31 11:07:19 +02:00
genesis_test.go Savings module invariants (#1199) 2022-03-30 13:51:06 +02:00
genesis.go Savings genesis state (#1198) 2022-03-29 11:45:04 +02:00
module.go Savings module invariants (#1199) 2022-03-30 13:51:06 +02:00