Denali Marsh
|
67b89c2b9c
|
[R4R] Blacklist module accounts (#517)
* implement module account blacklist
* update cdp getModuleAccountCoins method
|
2020-05-21 00:50:12 -04:00 |
|
Kevin Davis
|
c556bd8c6c
|
fix: remove vesting client (#516)
|
2020-05-21 00:49:42 -04:00 |
|
Federico Kunze
|
ad7c08cfc3
|
x/pricefeed: GenesisState validation (#514)
* x/pricefeed: GenesisState validation
|
2020-05-21 00:49:27 -04:00 |
|
Denali Marsh
|
00508b61fe
|
Change !GTE to LT (#512)
|
2020-05-15 15:43:52 -07:00 |
|
Ruaridh
|
c28bc03248
|
Committtee audit revisions (#510)
* comments from review
Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch>
Co-authored-by: jmahess <maheswaran@google.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* add vote methods
* add draft new param change permission
* add and update tests
* rename ParamChangePermission
* account for perms becoming invalid at a later time
* add debtParam to permission
* add bep3 AssetParam to permissions
* add pricefeed Markets to permission
* add upgrade permission
* move proposal passing to the begin blocker
* fix iteration bug
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address todos and audit comments
* add proposal examples
* refactor handler to be easier to read
* address review comments
* update comments
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
Co-authored-by: Sunny Aggarwal <sunnya97@protonmail.ch>
Co-authored-by: jmahess <maheswaran@google.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
|
2020-05-15 15:25:49 -04:00 |
|
Denali Marsh
|
dd1d248be2
|
[R4R] Add BnbDeputyFixedFee param to BEP3 module (#511)
* generate length 32 random bytes
* fix test
* implement BnbDeputyFixedFee param
* clean up for PR
* update deputy address
* remove impossible check
* move comment
|
2020-05-13 16:39:29 -07:00 |
|
Denali Marsh
|
fa8ae9647a
|
[R4R] Update secure RNG to generate bytes directly (#509)
* generate length 32 random bytes
* fix test
|
2020-05-13 16:38:34 -07:00 |
|
Kevin Davis
|
1099dfbd7d
|
CDP revisions (#508)
* address review comments
* add kavadist to modaccount check
* cdp and deposit validation in genesis
* cleanup genesis validation
* add validation test for types
* don't error on augmented cdp loading
* simplify collateral auction logic
|
2020-05-13 10:19:19 -04:00 |
|
Federico Kunze
|
6dedc1520a
|
x/auction: audit revisions (#497)
Auction audit revisions
|
2020-05-13 09:31:36 -04:00 |
|
Federico Kunze
|
12fe0c60a3
|
x/bep3: fix swap validation (#507)
|
2020-05-13 08:41:54 -04:00 |
|
Kevin Davis
|
7f236d322d
|
[R4R] Update Swagger for testnet-6000 (#496)
* wip: update swagger for testnet-6000
* add remaining modules to swagger
* add committee api
|
2020-05-13 08:41:31 -04:00 |
|
Denali Marsh
|
6c68e41758
|
[R4R] bep3 module audit revisions (#505)
* most audit revisions
* remove expected income
* update begin block spec
* filter queryAtomicSwaps, add queryAssetSupplies
* update old address
* update test
* Remove legacy method
* remove legacy comment
* address PR comments
* IsValid for SwapDirection, SwapStatus
* fix rng logging
* query asset supplies
* return [64]byte from rng
* remove cross chain field from MsgCreateAtomicSwap
* move swap filtering to querier
* rename Limit field to SupplyLimit
|
2020-05-12 13:15:38 -07:00 |
|
rhuairahrighairigh
|
f0c750cb4a
|
remove cdp review comment
|
2020-05-12 01:10:57 +01:00 |
|
rhuairahrighairigh
|
a5d70d1424
|
Merge branch 'master' into ro-auction-audit-revisions
|
2020-05-12 01:09:32 +01:00 |
|
rhuairahrighairigh
|
bc1a6a68e0
|
bugfix
|
2020-05-12 01:06:32 +01:00 |
|
rhuairahrighairigh
|
6b478a0f95
|
minor refactor
|
2020-05-12 00:57:48 +01:00 |
|
Kevin Davis
|
89b63a3cba
|
fix: simplify collateral auction logic
|
2020-05-11 18:35:16 -04:00 |
|
Ruaridh
|
d489bacfac
|
tidy payout function
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
|
2020-05-11 21:07:39 +01:00 |
|
rhuairahrighairigh
|
7c477eb75d
|
add cdp math fix and debugging
|
2020-05-11 20:48:42 +01:00 |
|
rhuairahrighairigh
|
5987d966ef
|
increase auction maths safety
|
2020-05-11 20:45:00 +01:00 |
|
Federico Kunze
|
04cb414593
|
x/bep3: genesis validation (#488)
* validate asset supply
* validate swap
* genesis tests
* swap and supply unit tests
* use Require() for suite
* fix tests
* Apply suggestions from code review
Co-authored-by: Denali Marsh <denali@kava.io>
|
2020-05-11 12:55:09 -04:00 |
|
rhuairahrighairigh
|
8899a7ff04
|
replace some errors with panics
|
2020-05-11 14:55:32 +01:00 |
|
rhuairahrighairigh
|
976f8f632d
|
remove todo - leave to caller to deal with panic
|
2020-05-08 16:10:59 +01:00 |
|
rhuairahrighairigh
|
4039086e8d
|
tidy up events
|
2020-05-08 16:07:11 +01:00 |
|
Kevin Davis
|
7129e7c95b
|
use correct terminolgy in incentive spec
|
2020-05-07 19:41:14 -04:00 |
|
Kevin Davis
|
18b6a8ce25
|
remove extra newline
|
2020-05-07 17:52:21 -04:00 |
|
Kevin Davis
|
e60bf54b32
|
clean up validator vesting spec
|
2020-05-07 17:52:07 -04:00 |
|
Kevin Davis
|
db7aaef98d
|
cleanup cdp events
|
2020-05-07 17:35:42 -04:00 |
|
Kevin Davis
|
fd8d48e208
|
add committee spec
|
2020-05-07 16:58:46 -04:00 |
|
Kevin Davis
|
deef10a872
|
add voter address to vote event
|
2020-05-07 16:58:39 -04:00 |
|
Kevin Davis
|
c1e9a87fb3
|
add incentive spec
|
2020-05-07 13:46:48 -04:00 |
|
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 |
|
Jack Zampolin
|
f86d0f3c3b
|
Add changes from code review
|
2020-05-04 10:52:36 -07: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 |
|