Commit Graph

290 Commits

Author SHA1 Message Date
Kevin Davis
d849d690e5
R4R: CDP types and methods (#275)
* wip: tpyes and keeper methods

* wip: iterators

* wip: types and keeper methods

* wip: add msgs

* wip: client methods

* wip: rebase develop

* wip: types tests

* wip: keeper tests, small fixes

* wip: add cdp tests

* wip: deposit tests

* wip: keeper tests

* wip: tests and module methods

* feat: error when fetching expired price

* feat: conversion factor for external assets

* feat: debt floor for new cdps

* feat: save deposits on export genesis

* feat: ensure messages implement msg

* feat: index deposits by status

* fix: stray comment

* wip: address review comments

* address review comments
2020-01-12 16:35:34 +01:00
Ruaridh
e1c11d411a Update Auction Module (#276)
* rough auction type refactor

* replace endTime type

* split keeper file up

* update store methods

* move store methods to keeper.go

* move nextAuctionID from params to genState

* simplify auction type to not use pointers

* add basic auction tests

* update endblocker test

* add payout to depositors feature

* add more tests

* move index updates to Get/Set for more safety

* remove slightly unecessary ID type

* remove unused message types

* feat: add spec, update redundant type names

* stop sending zero coins

* use only one coins field in MsgPlaceBid

* remove uncessary Auction interface methods

* give auction types more accurate names

* remove vuepress comments from spec

* minor spec updates

* update doc comments

* add params validation

* code cleanup, address review comments

* resolve minor TODOs

* sync spec with code

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-01-12 16:12:22 +01:00
Kevin Davis
c5db0ff680
Merge pull request #273 from Kava-Labs/ro-remove-mock-from-tests
Tests Refactor v1: remove mock
2019-12-10 10:54:38 -05:00
rhuairahrighairigh
f794ba1bf9 use time consistently in tests 2019-12-07 15:08:07 +00:00
rhuairahrighairigh
d8347fd49c tidy test genesis states 2019-12-07 14:56:40 +00:00
rhuairahrighairigh
11fd42685b minor tidying 2019-12-07 01:25:45 +00:00
rhuairahrighairigh
81302ce29f tidy up cdp tests 2019-12-07 01:25:25 +00:00
rhuairahrighairigh
2152bb4ed2 rename test helper func 2019-12-07 00:12:07 +00:00
rhuairahrighairigh
83969f3702 update pricefeed tests 2019-12-06 23:53:20 +00:00
rhuairahrighairigh
1295dfbffc update liquidator tests 2019-12-06 23:49:47 +00:00
Kevin Davis
6c42e78e25
Merge pull request #272 from Kava-Labs/kd-propose-params
Params and types for pricefeed
2019-12-05 11:03:41 -05:00
rhuairahrighairigh
688b7830c0 Merge branch 'kd-propose-params' into ro-remove-mock-from-tests 2019-12-05 15:56:24 +00:00
rhuairahrighairigh
e3aca06236 update cdp tests to use CheckBalance method 2019-12-05 13:59:20 +00:00
rhuairahrighairigh
215241edd9 update auction module tests 2019-12-05 13:53:28 +00:00
rhuairahrighairigh
ab8331f90a update auction keeper tests 2019-12-05 13:53:10 +00:00
rhuairahrighairigh
4662123105 add check balance method to TestApp 2019-12-05 13:51:46 +00:00
Kevin Davis
05a99be97b apply pricefeed changes to other modules 2019-12-04 11:54:53 -05:00
Kevin Davis
bf83a9bf8f address review comments for pricefeed 2019-12-04 11:32:08 -05:00
rhuairahrighairigh
2d73e62773 update cdp tests 2019-12-03 14:35:40 +00:00
rhuairahrighairigh
ce2b2e2213 update cdp keeper tests 2019-12-03 14:35:27 +00:00
rhuairahrighairigh
6f3cb815a2 add TestApp 2019-12-03 14:33:20 +00:00
rhuairahrighairigh
e83127a15e standardise pricefeed NewKeeper 2019-12-03 14:32:01 +00:00
rhuairahrighairigh
fc2b7f9652 add new modules to app 2019-12-02 10:51:13 +00:00
Kevin Davis
1a9b8514c9 fix keys, return validation errors 2019-11-28 11:00:08 -06:00
Kevin Davis
e85d2f880b wip: cdp params and types 2019-11-28 10:53:59 -06:00
Kevin Davis
d5da161dd8 feat: draft params for pricefeed 2019-11-27 09:45:59 -05:00
Kevin Davis
57a1532db4 Merge remote-tracking branch 'origin' into develop 2019-11-25 17:46:57 -05:00
Kevin Davis
e343a27383
Merge pull request #270 from Kava-Labs/kd-contrib
add init scripts
2019-11-25 16:27:23 -05:00
Kevin Davis
ab913ceadb
Merge pull request #271 from Kava-Labs/kd-migrate-modules
feat: migrate modules from kava-devnet
2019-11-25 16:27:12 -05:00
Kevin Davis
83d523a856 feat: migrate modules from kava-devnet 2019-11-25 14:46:02 -05:00
Kevin Davis
ede5a96c0f add init scripts 2019-11-25 14:24:46 -05:00
Kevin Davis
1673675b66
Merge pull request #266 from Kava-Labs/kd-tendermint-patch
bump tendermint version, update CHANGELOG
2019-10-29 16:59:07 -04:00
Kevin Davis
90aa991eb0 bump tendermint version, update CHANGELOG 2019-10-29 16:24:33 -04:00
Kevin Davis
fa63739843
Merge pull request #265 from Kava-Labs/kd-changelog-v0.3.0-update
Update CHANGELOG
2019-10-25 16:17:39 -04:00
Kevin Davis
b09f30754d Update CHANGELOG 2019-10-25 16:14:04 -04:00
Kevin Davis
5939b4b9d9 fix: circleci for master branch 2019-10-22 13:56:03 -04:00
Kevin Davis
27833e14cc fix: circleci for tagged releases 2019-10-22 13:30:54 -04:00
Kevin Davis
e2f3fc15e4
Update REWARDS.md 2019-10-16 10:28:34 -04:00
Kevin Davis
456da47459 increase ci timeout for releases 2019-10-15 17:33:50 -04:00
Kevin Davis
0ccc1a6ee2 handle circleci tags 2019-10-15 16:31:07 -04:00
Kevin Davis
9c85201ccc handle circleci tags 2019-10-15 16:23:06 -04:00
Kevin Davis
af8e1b04a4 handle circleci tags 2019-10-15 16:13:41 -04:00
Kevin Davis
ad86cf6c20
Merge pull request #261 from Kava-Labs/kd-ci-tags
Fix issue with tags in circleci
2019-10-15 16:11:58 -04:00
Kevin Davis
0247f15ae3 fix ci config for tags 2019-10-15 16:08:21 -04:00
Kevin Davis
0e389144ab fix ci config 2019-10-15 16:06:12 -04:00
Kevin Davis
107431a311 lint 2019-10-15 16:00:40 -04:00
Kevin Davis
8a5a3c2496 fix ci issue with tags 2019-10-15 15:59:18 -04:00
Kevin Davis
247ccc2886 add changelog 2019-10-15 15:14:58 -04:00
Kevin Davis
d35fcae3a6
Merge pull request #260 from Kava-Labs/kd-bump-tendermint-version
Bump Tendermint Version
2019-10-15 15:09:36 -04:00
Kevin Davis
1ff0851ffe bump tendermint version 2019-10-15 15:05:09 -04:00