Commit Graph

908 Commits

Author SHA1 Message Date
rhuairahrighairigh
fbf67b4527 add committee change gov proposals 2020-03-21 18:06:58 +00:00
rhuairahrighairigh
18dfcd2a3d add genesis init/export/validation 2020-03-15 00:00:05 +00:00
rhuairahrighairigh
62da823314 add untested rest 2020-03-14 01:16:45 +00:00
rhuairahrighairigh
4ef5b7d56f add untested cli methods 2020-03-13 23:13:42 +00:00
rhuairahrighairigh
a0e4ee7736 add querier 2020-03-13 15:11:31 +00:00
rhuairahrighairigh
f773f7f278 add proposal voting deadlines 2020-03-12 17:05:40 +00:00
rhuairahrighairigh
20bcfec407 add msgs 2020-03-12 00:47:25 +00:00
rhuairahrighairigh
029842168a address some TODOs 2020-03-11 23:52:54 +00:00
rhuairahrighairigh
5911e648b7 improve code organisation 2020-03-11 19:52:25 +00:00
rhuairahrighairigh
e473d972ec add vote tallying and tests 2020-03-11 19:27:36 +00:00
rhuairahrighairigh
f9dab88c16 add main keeper methods 2020-03-11 00:58:42 +00:00
rhuairahrighairigh
8c64fd3750 add keeper delete methods 2020-03-10 23:28:25 +00:00
rhuairahrighairigh
a145846ed2 add get set methods 2020-03-10 23:16:22 +00:00
rhuairahrighairigh
f2e4956d88 hook into app to get integration tests running 2020-03-10 22:29:16 +00:00
rhuairahrighairigh
cae6cb196c make builds pass 2020-03-10 21:41:10 +00:00
rhuairahrighairigh
54c2e44a2d add antehandler to app 2020-03-04 19:50:30 +00:00
rhuairahrighairigh
2ab6c4669f rename modules and tidy 2020-03-04 19:16:27 +00:00
rhuairahrighairigh
3e1b1b1b72 tidy up groupgov 2020-03-04 16:55:12 +00:00
rhuairahrighairigh
8a36e926e8 tidy up circuit-breaker 2020-03-04 16:41:13 +00:00
rhuairahrighairigh
4989c0938a rough draft 2020-03-04 14:35:16 +00:00
Ruaridh
7eede47769
Add min bid increments (#380)
* refactor bidding test

* add some more bid test cases

* add balance checks to bid tests

* add more checks to bid tests

* add min bid increments

* protect against negative lot amounts

* fix params tests

* change endblocker to beginblocker

* update spec

* fix params tests

* fix: update alias

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-02-28 17:16:22 -05:00
Kevin Davis
e72b20eb7d
benchmark account and cdp iteration (#371)
* feat: benchmark test for account iteration

* feat: add cdp creation and iteration benchmarks

* address review comments
2020-02-28 17:00:03 -05:00
Kevin Davis
4d21230925
Merge pull request #383 from Kava-Labs/kd-auction-abci-query
[R4R] Use standard abci query convention in auction
2020-02-27 14:11:17 -05:00
Kevin Davis
0c6459346d fix: use standard abci query convention 2020-02-27 12:59:11 -05:00
Kevin Davis
9b49f991f9
Merge pull request #379 from Kava-Labs/kd-update-circulating-supply
Calculate circulating supply with respect to vesting
2020-02-25 18:11:32 -05:00
Kevin Davis
fb7dcd7d36 feat: calculate circulating supply with respect to vesting 2020-02-25 18:05:05 -05:00
Kevin Davis
7e78f37788
Merge pull request #378 from Kava-Labs/develop
Add custom supply endpoints
2020-02-25 10:56:01 -05:00
Kevin Davis
ac8787b6ed Merge branch 'master' into develop 2020-02-25 10:32:20 -05:00
Kevin Davis
a746afcb84 Merge branch 'master' into develop 2020-02-25 10:31:20 -05:00
John Maheswaran
51fc70b5ac
[R4R] This is the implementation of the total circulating supply (#376)
* adding empty query files where we will implement the cli and rest interfaces

* adding querier file

* adding aliases, querier, expected keepers, types, module updates

* starting to work on query

* adding alias for QueryCirculatingSupply

* adding TotalCirculatingSupply type

* adding alias for TotalCirculatingSupply type

* adding QueryCirculatingSupplyCmd to clieng query file

* adding register routes function

* adding rest query handling function, register endpoint

* fix types include statement

* remove unused mux include

* another import fix

* remove unused variable

* adding rest to module

* fix missing variable names

* another missing variable fix

* remove dead code comment

* fix typo in circulating-supply

* fix import

* fix querierroute return to return the module name instead of empty string

* rename function, fix build issue

* return error instead of nil if there is an error

* import types from cosmos sdk, fix return type

* set querier route to module name in key.go

* adding query and rest updates

* aliasing new querying circulating supply function

* directly write output

* fix routes

* adding total supply functionality

* converting from microkava to kava

* Update x/validator-vesting/client/cli/query.go

typo fix

Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>

Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-02-25 10:29:54 -05:00
Ruaridh
c7b1331f4d
Fix simulations (#377)
* stub out simulation integration for cdp, pricefeed

* stub out simulation integration for auction

* fix cdp export

* update pricefeed to match

* update validator-vesting to match
2020-02-25 10:11:09 -05:00
Kevin Davis
e3b1f7e24d
Merge pull request #375 from Kava-Labs/develop
feat: merge cdp modules to master
2020-02-20 16:55:06 -05:00
Kevin Davis
6e8e3f5bb9
Merge branch 'master' into develop 2020-02-20 16:21:23 -05:00
Kevin Davis
90bb6abfbb feat: rebase master 2020-02-20 16:16:35 -05:00
Kevin Davis
97dc4f6432
[R4R] Prepare develop for merge (#372)
* feat: add swagger

* add version info for mainnet

* feat: reorganize to prepare for develop merge

* feat: update readme
2020-02-20 09:41:29 -05:00
Kevin Davis
32f6b60c6b
R4R: update swagger to testnet 4000 (#369)
* feat: update swagger to testnet 4000

* feat: update server to public https address

* fix: use correct method for post price

* feat: move to separate testnet repo
2020-02-19 18:48:23 -05:00
Kevin Davis
e229872ec6
Update io.kava.kvd.plist 2020-02-18 12:34:10 -05:00
rhuairahrighairigh
cfccdfc815 update changelog and readme 2020-02-13 01:06:59 +00:00
Ruaridh
bc5826cd80
Add cli support for new bip44 coin type (#364)
* first attempt

* refactor, add tests

* update comments
2020-02-13 00:49:32 +00:00
Kevin Davis
8547707bd9
fix: parse query height (#362) 2020-02-04 12:56:21 -05:00
Ruaridh
ed57dd6ff1
Auction rest endpoints bugfix (#363)
* remove parameter brackets

* remove more param brackets
2020-02-04 12:56:10 -05:00
Ruaridh
bbc5d3b7a0
Auction rest fixes (#361)
* auction query fixes

* minor formating tweaks

* add phase info to debt & surplus auctions

* add base auction struct tags

* use module name in querier paths

* update rest tx endoint to use http body

* improve invalid coins error messages

* add rest examples

* align starting auction ID with gov and cdp

* fix cdp test broken by auction ID change

* fix all tests broken by ID change
2020-02-03 10:54:00 -05:00
Kevin Davis
31e185c632
[R4R] cdp rest fixes (#360)
* fix: use correct path for cdp queries

* fix: avoid params being confused for cdp denom

* fix: use consistent terminology

* fix: struct tag mismatch for repayment

* fix: use plural when querying multiple cdps

* fix: use correct type for query by ratio

* wip: refactor cdp query paths

* wip: routing queries

* fix: route prefixes

* wip: address review comments

* Update x/cdp/client/rest/query.go

Co-Authored-By: Ruaridh <rhuairahrighairidh@users.noreply.github.com>

* use post instead of put

Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2020-02-03 10:41:28 -05:00
Denali Marsh
4599caca07
R4R: update pricefeed module rest endpoints (#359)
* query get price implemented - /pricefeed/price/xrp:usd

* query rawprices implemented - /pricefeed/rawprices/xrp:usd

* refactored to QueryWithMarketIDParams, added rest logic for QueryOracles

* new query get oracles implemented for cli and rest - /pricefeed/oracles/xrp:usd

* tx postprice implemented - /pricefeed/postprice/{MsgPostPrice}

* updated contrib with post-price examples and added to README

* added cliCtx.WithHeight(height) and removed import comment
2020-02-02 11:06:33 -05:00
Ruaridh
183acfef62
auction query fixes (#354) 2020-02-01 10:49:36 -05:00
Kevin Davis
3b8b9ef9bc
fix: correct tx broadcasting post format (#356) 2020-02-01 10:49:12 -05:00
Kevin Davis
cd754a25d9
[R4R] Minor rest fixes (#355)
* feat: add swagger

* add version info for mainnet

* feat: update swagger

* fix: type in get params path

* feat: example for creating cdp

* feat: example broadcast signed tx

* feat: examples for depositing to cdp

* added README with example cdp create rest-server request (#358)

* fix: make link-check happy

Co-authored-by: Denali Marsh <denalimarsh@gmail.com>
2020-01-31 17:31:22 -05:00
Kevin Davis
4f8b144381
add version info for mainnet 2020-01-31 12:28:28 -05:00
Kevin Davis
bdff81b2a2
fix: avoid panic when closing cdp via repayment (#353) 2020-01-30 18:50:42 -05:00
Denali Marsh
3c8209cbcc
fix panic(err) if posted_prices=[] in genesis file (#352) 2020-01-29 16:12:47 -08:00