0g-chain/x/incentive
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 Incentive module: claim savings reward (#1208) 2022-04-20 13:08:57 +02:00
keeper Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
legacy Add savings to incentive genesis (#1205) 2022-04-04 15:01:48 -05:00
simulation Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
spec update incentive spec (#982) 2021-08-06 08:12:08 -06:00
testutil Incentive: savings module reward accumulation logic (#1207) 2022-04-12 16:14:14 +02:00
types Incentive module: claim savings reward (#1208) 2022-04-20 13:08:57 +02:00
abci.go Incentive: savings module reward accumulation logic (#1207) 2022-04-12 16:14:14 +02:00
genesis_test.go Add savings to incentive genesis (#1205) 2022-04-04 15:01:48 -05:00
genesis.go Add savings to incentive genesis (#1205) 2022-04-04 15:01:48 -05:00
integration_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
module.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00