Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Davis
d561529502
Update kava-4 export height 2021-03-04 07:22:41 -07:00
Kevin Davis
076b18d412
Clarify removing halt time when restarting node 2021-03-04 07:09:14 -07:00
Kevin Davis
17b874a433
Add kava-5 build and genesis hashes 2021-03-04 06:41:56 -07:00
Kevin Davis
56ac04d217
Update migrate.md 2021-03-02 10:26:58 -07:00
Kevin Davis
309dfe3e49
Update migrate.md 2021-03-01 18:38:16 -07:00
Kevin Davis
9d60358fcd
Fix: Add missing stability committee permissions (#854)
* fix: remove old harvest permissions from committee

* add new hard param keys to allowed committee params

* add all cdp collateral types to committee permissions
2021-02-28 10:33:44 -07:00
Kevin Davis
3a3dd7970d
Fix typo 2021-02-23 11:25:23 -07:00
Kevin Davis
209c15dde9
Add placeholder block height to migration guide 2021-02-23 09:17:50 -07:00
Kevin Davis
1249c315fe
Update migrate.md 2021-02-22 18:45:49 -07:00
Kevin Davis
43d327db03
Update migrate.md 2021-02-22 18:43:33 -07:00
Kevin Davis
915d86bf35
kd-document-migration (#847)
* feat: add bep-3 migration

* remove comments

* address review comments

* update min/max block locks

* set open swaps to expired and adjust asset supply

* fix: handle open swaps

* feat: add migration doc

* fix typos
2021-02-22 18:39:54 -07:00
Kevin Davis
667ad87825
[R4R] kava 5 migration (#848)
* wip: kava-5 migration

* feat: kava 5 migration

* fix: don't repeat genesis time
2021-02-22 18:28:07 -07:00
Kevin Davis
3bf40b97f9
feat: pricefeed migrations (#846) 2021-02-22 14:53:00 -07:00
Kevin Davis
4753504a68
Add bep3 migration (#819)
* feat: add bep-3 migration

* remove comments

* address review comments

* update min/max block locks

* set open swaps to expired and adjust asset supply

* fix: handle open swaps
2021-02-22 14:47:28 -07:00
Kevin Davis
aa3cf66707
add validator vesting migrations (#845) 2021-02-22 14:15:10 -07:00
Kevin Davis
0865e40553
[R4R] incentive, hard migrations (#783)
* update v0_11 harvest genesis state

* wip: hard migration

* wip: incentive migration

* wip: incentive migration

* update incentive migration for multi-rewards

* address review comments

* sort slices for deterministic ordering

* update interest rate model and reserves

* fix: use correct conversion factor

* fix: remove auction size param

* remove ununsed module accounts

* update incentive claim multiplier for one month rewards

* address hard migration review comments

* add hard test

* migrate harvest mod account (#844)

* migrate harvest mod account

* update hard account permissions

* update hard module account permissions

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2021-02-22 14:08:23 -07:00
Kevin Davis
1ab2e9965f
Add committee migrations (#818)
* fix: collateral param permission

* wip: kava-5 committee updates

* feat: add committee migrations

* rename functions so git recognizes diffs better

* rename

* remove auction_size param

* address review comments

* add check ltv index count to collateral param perms

* fix: update legacy migration

* use function to define collateral param in test

* use go 1.15 in circle

* address review comments

* fix: no nil values for collateral params
2021-02-19 14:05:42 -07:00
Kevin Davis
4eef80b47f
[R4R] CDP module migrations from v0.11 -> v0.13 (#769)
* remove references to savings rate

* removing savings rate module account in auth migration

* use compact json

* fix non-determinism is cdp migration
2021-01-21 10:37:35 -07:00
Kevin Davis
c63ecf908a
Cdp accumulators (#751)
* Add 'InterestFactor' to CDP type (#734)

* update cdp type to include interest factor

* fix build

* Add cdp accumulator methods (#735)

* remame fees to interest

* add accumulate interest method

* add basic test

* add note

* address review comments

* update tests

* Add sync cdp interest method (#737)

* remame fees to interest

* add accumulate interest method

* add basic test

* add note

* address review comments

* update tests

* remove old fee functions

* add method to synchronize cdp interest

* add multi-cdp tests

* add test with many blocks

* add test for interest getter

* address review comments

* calculate time difference then convert to seconds

* fix: update collateral index when syncing interest

* fix: differentiate between case when apy is zero and all fees are being rounded to zero

* fix: round time difference properly

* update cdp genesis state and migrations (#738)

* remame fees to interest

* add accumulate interest method

* add basic test

* add note

* address review comments

* update tests

* remove old fee functions

* add method to synchronize cdp interest

* add multi-cdp tests

* add test with many blocks

* add test for interest getter

* update cdp genesis state and migrations

* address review comments

* calculate time difference then convert to seconds

* fix: update collateral index when syncing interest

* fix: differentiate between case when apy is zero and all fees are being rounded to zero

* fix: simplify add/remove/update collateral index

* update genesis state to include total principal amounts

* update migration

* Delete kava-4-cdp-state-block-500000.json

* Add cdp liquidations by external keeper (#750)

* feat: split liquidations between external keepers and automated begin blocker

* address review comments

* USDX incentive accumulators (#752)

* feat: split liquidations between external keepers and automated begin blocker

* wip: refactor usdx minting incentives to use accumulators/hooks

* wip: refactor usdx minting claim object

* feat: use accumulators/hooks for usdx minting rewards

* fix: get tests passing

* fix: don't create claim objects unless that cdp type is eligable for rewards

* add begin blocker

* update client

* cleanup comments/tests

* update querier

* address review comments

* fix: check for division by zero

* address review comments

* run hook before interest is synced

* Remove savings rate (#764)

* remove savings rate

* remove savings rate from debt param

* update migrations

* address review comments

* Add usdx incentives calculation test (#765)

* add usdx incentive calculation test

* update reward calculation

* add allowable error to test criteria

* Update x/incentive/keeper/rewards_test.go

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>

* fix: remove old fields from test genesis state

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2021-01-18 12:12:37 -07:00