Kevin Davis
a295b793a9
fix: emit relevent events for incentive
2020-05-07 13:46:40 -04:00
Kevin Davis
0c49f1b089
add kavadist spec
2020-05-07 13:45:32 -04:00
Kevin Davis
dc5614b241
fix: emit inflation as coin
2020-05-07 13:45:16 -04:00
Kevin Davis
70b0f02e6d
fix: use correct abci method in pricefeed spec
2020-05-07 13:44:43 -04:00
Kevin Davis
178f74c1d8
fix: delete claim after user claims it
2020-05-07 13:43:36 -04:00
Kevin Davis
c6d287a5b3
feat: add pricefeed spec
2020-05-07 11:11:10 -04:00
Denali Marsh
8ef03e4181
[HOTFIX] Fix outgoing swaps in BEP3 sims ( #490 )
...
* check available asset supply on outgoing swaps
* switch maximum, current
2020-05-06 17:29:59 -07:00
Denali Marsh
611eff93cf
[R4R] Update bep3 module account permissions ( #483 )
...
* incoming swaps trigger acc registration
* move supply increment after recipient acc validation
* use expected keepers pattern
* remove expected keepers from alias
* update bep3 macc permissions
* clean supply keeper interface
* add module account check to genesis
* remove duplicated accountkeeper
2020-05-06 13:23:13 -07:00
Denali Marsh
7a904ddd6c
[R4R] Add outgoing swaps to bep3 sims ( #484 )
...
* incoming swaps trigger acc registration
* move supply increment after recipient acc validation
* use expected keepers pattern
* remove expected keepers from alias
* add outgoing swaps to sims
2020-05-06 12:30:27 -07:00
Denali Marsh
d56ad961c0
[R4R] Enable bep3 claim txs from new addresses ( #482 )
...
* incoming swaps trigger acc registration
* move supply increment after recipient acc validation
* use expected keepers pattern
* remove expected keepers from alias
* update comment
2020-05-06 10:56:43 -07:00
Ruaridh
23a5c7b969
Add committee simulations ( #431 )
...
* first pass at genesis and msgs
* add proposal generation
* add permission generation
* add decoder
* add invariants
* add committee change proposal generator
* improve committee change proposal generation
* fix error formatting
* update sims to v0.38
* Update x/committee/keeper/invariants.go
Co-Authored-By: Denali Marsh <denali@kava.io>
* Update x/committee/keeper/invariants.go
Co-Authored-By: Denali Marsh <denali@kava.io>
* tidy up comments
* tidy up random helpers
* add committee to ImportExport test
* add member check to vote invariant
* fix comment wording
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-05-04 17:17:20 -04:00
Kevin Davis
471565e360
fix: add new event manager to ctx in handlers ( #485 )
2020-05-02 18:52:49 -04:00
Kevin Davis
8f3858509a
fix: various errors from linter ( #481 )
2020-05-01 14:13:29 -04:00
Federico Kunze
511e1e07ac
fix conflicts from development
2020-04-30 17:12:22 -04:00
Kevin Davis
22bba81944
Check spendable balance in cdp sims ( #480 )
...
* fix: check spendable balance
* don't log noisy result.Log
* remove dead comment
2020-04-30 17:02:42 -04:00
Federico Kunze
d8bbde78cc
build
2020-04-30 12:15:40 -04:00
Federico Kunze
1a04ffe396
fix some lint bugs
2020-04-30 11:33:10 -04:00
Federico Kunze
9743f356be
Merge branch 'master' of github.com:Kava-Labs/kava into linters
2020-04-30 10:31:20 -04:00
Kevin Davis
22315cc3ca
add committee to sims ( #479 )
...
* fix: update test for cdp breaking changes
* fix: add committee to sims
2020-04-30 10:27:37 -04:00
Federico Kunze
fe72a24aa0
update format
2020-04-30 10:23:41 -04:00
Federico Kunze
8853e8d3d1
linters and format
2020-04-30 10:13:31 -04:00
Federico Kunze
e9c16fa752
x/committee: committee gov module
...
Committee Gov Module
2020-04-30 09:16:33 -04:00
Kevin Davis
3cc2cc99b8
fix: enforce sorting of cdp ids when storing ( #475 )
2020-04-29 18:02:31 -04:00
Kevin Davis
c175e9e856
Add kava modules to TestAppImportExport ( #472 )
...
* add kava modules to TestAppImportExport
2020-04-29 10:10:41 -04:00
rhuairahrighairigh
e1cb079589
remove alias comment from godoc
2020-04-28 16:36:06 +01:00
rhuairahrighairigh
ffbeced199
apply various pr suggestions
2020-04-28 01:51:53 +01:00
rhuairahrighairigh
d1c0dd18b1
only import types pkgs within types
2020-04-28 01:28:00 +01:00
rhuairahrighairigh
307ecd54e2
remove unecessary codec tests
2020-04-28 01:26:48 +01:00
rhuairahrighairigh
447e7579a8
tidy up codec type registrations
2020-04-28 01:26:00 +01:00
rhuairahrighairigh
073cd7ebda
update module to v0.38
2020-04-27 19:19:05 +01:00
rhuairahrighairigh
6c3d525f0f
Merge branch 'master' into ro-emergency-gov-module
2020-04-27 15:55:20 +01:00
Kevin Davis
ae4aee46ff
Use sdk.Coin in cdp module ( #466 )
...
* Use sdk.Coin in cdp module
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: John Maheswaran <john@noreply>
2020-04-27 10:40:34 -04:00
rhuairahrighairigh
631b87eaf0
apply various PR comments
2020-04-27 15:37:25 +01:00
rhuairahrighairigh
c17de631d2
add nicer keeper get methods
2020-04-27 15:04:47 +01:00
rhuairahrighairigh
20c02a6a54
add permissions tests
2020-04-27 13:57:47 +01:00
rhuairahrighairigh
576dcc7dfd
rename files
2020-04-27 13:56:59 +01:00
rhuairahrighairigh
c231912642
add handler tests
2020-04-26 15:28:57 +01:00
rhuairahrighairigh
196ecf7f30
improve proposal tests
2020-04-25 17:39:59 +01:00
rhuairahrighairigh
ebb6366837
address various pr comments
2020-04-25 00:22:56 +01:00
rhuairahrighairigh
ccad1f82e2
switch to non length prefixed marshalling
2020-04-25 00:05:54 +01:00
rhuairahrighairigh
114097edb3
add cli help text test
2020-04-24 23:36:08 +01:00
rhuairahrighairigh
733711c88c
add query committee cmd
2020-04-24 23:16:04 +01:00
rhuairahrighairigh
5c280696fb
refactor begin blocker
2020-04-24 23:15:51 +01:00
Denali Marsh
b969a0ea33
Incentive module simulations ( #439 )
...
* Incentive module simulations (#439 )
Co-authored-by: John Maheswaran <jmaheswaran@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
Co-authored-by: John Maheswaran <john@kava.io>
2020-04-24 17:55:18 -04:00
Ruaridh
73dc488239
Apply suggestions from code review
...
Co-Authored-By: Denali Marsh <denali@kava.io>
Co-Authored-By: Kevin Davis <karzak@users.noreply.github.com>
2020-04-24 19:15:57 +01:00
Kevin Davis
e9a73b80ce
Incentives tests ( #429 )
...
* USDX Incentives tests (#429 )
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: John Maheswaran <jmaheswaran@users.noreply.github.com>
Co-authored-by: John Maheswaran <john@kava.io>
2020-04-24 11:44:44 -04:00
Kevin Davis
1ef9bd331b
USDX incentives implementation ( #399 )
...
* USDX incentives implementation (#399 )
* feat: upgrade to cosmos-sdk v0.38
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: John Maheswaran <jmaheswaran@users.noreply.github.com>
Co-authored-by: John Maheswaran <john@kava.io>
2020-04-24 11:20:34 -04:00
jmahess
5737f4fa19
[R4R] Update fees for all cdps ( #449 )
...
* update cdp fees in begin block
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: John Maheswaran <john@noreply>
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
2020-04-23 19:25:44 -04:00
Kevin Davis
23e23fdaaa
fix: restore auction sims operations ( #465 )
2020-04-23 14:51:37 -07:00
Denali Marsh
a4c5a13822
[R4R] BEP3 module spec and clean up ( #450 )
...
* bump SDK version to v0.38.2
* fix module.go and remove codespaces
* fix coins Add()
* fixes to handlers
* migrate errors
* more fixes
* fixes fixes fixes
* build
* check for paramstore keytable
* empty param validation function (TODO)
* param validations
* fix some tests
* fix all tests
* simulation fixes (WIP)
* auction and bep3 sim refactor
* fixes
* bep3 sims fixes
* auction and pricefeed fix
* cdp sims fixes
* fix tests
* Update x/auction/keeper/auctions.go
Co-Authored-By: Denali Marsh <denali@kava.io>
* Update x/bep3/types/params.go
Co-Authored-By: Denali Marsh <denali@kava.io>
* Apply suggestions from code review
Co-Authored-By: Denali Marsh <denali@kava.io>
* Update x/bep3/keeper/swap.go
Co-Authored-By: Denali Marsh <denali@kava.io>
* address comments from review
* address comments from review
* fix: run sims
* fix: implement marshal/unmarshal JSON for validator vesting account
* fix: don't call set on sealed config
* remove swap interface
* add concepts spec
* add state spec
* add messages spec
* update event names
* implement swap expired event
* add events spec
* add params spec
* add begin block spec
* add module readme
* update alias
* revisions
* aggregate expired swap ids for event emisison
* markdown-link-check-disable for circleci
* exclude api-endpoint links in Makefile
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
2020-04-23 13:57:25 -07:00