Commit Graph

59 Commits

Author SHA1 Message Date
Ruaridh
26e350945e
fix struct tag json syntax (#1194) 2022-03-24 08:46:09 -06:00
Derrick Lee
e526fd1639
Split existing auction bid_duration parameter into forward_bid_duration and reverse_bid_duration (#1158)
* Split bid_duration field into forward/reverse durations

* Update params.go

* Update params_test for forward/reverse bid durations

* Remove duplicated import

* Replace bid duration on place bids

* Fix reversed bid errors

* Update auctions test

* Update bidding test

* Update testutil suite to use default forward/reverse bid durations

* Fix missing ReverseBidDuration param field

* Check if auction is reversed on forward bid

* Add test for conversion to reverse auction that reaches maxbid

* Make proto fields backwards compatible

* Use ForwardBidDuration for debt bid

* Make copy of v16 auction types

this doesn't actually work but keeping it in history

* Disable migrations

* Update debt tests to use forward bid duration
2022-02-08 09:03:47 -08:00
Ruaridh
ffef832d45
Upgrade to sdk v0.44.5 and add IBC (#1106)
- Upgrade cosmos-sdk to v0.44.5 from v0.39.2
- Add Legacy Tx Endpoint for backwards compatibility
- Add IBC v1.2.3 Support

Co-authored-by: DracoLi <draco@dracoli.com>
Co-authored-by: drklee3 <derrick@dlee.dev>
Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: Draco Li <draco@kava.io>
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: Denali Marsh <denali@kava.io>
2022-01-07 17:39:27 -07:00
Nick DeLuca
d70d4dd391
add rest route /tx/simulate that provides the ability to simulate (#1012)
multiple messages with a fee and memo
2021-09-07 20:08:39 -05:00
Kevin Davis
8d0bb5a5b0
feat: add invariant check command (#1009)
* add genesis file invariant assertion command

* fix: use correct cmd function name

* update migration guide to add invariant check
2021-08-26 17:53:46 -05:00
Ruaridh
9c69ee2fbf
merge release v0.12.1 updates (#724)
* use kava antehandler

* add authenticated mempool decorator

* add get authorised address methods

* hook antehandler into app

* refactor address fetcher interface

* tidy up args to NewApp

* remove unused function

* tidy up after removing address fetcher interface

* read authorized addresses from config

* fix error message, and minor tidy

* update cosmos-sdk and tendermint

* clarify function name

* add flags for mempool options
2020-12-02 10:37:11 -07:00
Kevin Davis
9472c09b91
patch keys parse command (#700) 2020-11-13 17:29:30 -05:00
Ruaridh
64aa61d285
Update to sdk v0.39.x (#625)
* fix cli tests
- add pruning config
- add the new build path

* bump sdk version, make changes to get kvd running

* add draft multi-tx test

* add multiple txs per block test

* remove unused file

* sync VV account json format with sdk account types

* add another jsons test

* refactor coin creation in tests

* add missed file

* update changelog
2020-09-16 15:16:14 -04:00
Kevin Davis
dbb8f387f9
fix: use correct committee params (#640) 2020-08-30 10:47:07 -04:00
Alexander Bezobchuk
95a15367b6
Add local testnet to makefile (#545) 2020-06-11 21:40:46 -04:00
Ruaridh
0ddae8609e
Add partial legacy rest server (#578)
* add minimal account endpoint

* add other account types

* add other unchanged endpoints
2020-06-11 15:53:38 -04:00
Ruaridh
869189054d
Check Pruning Config (#560)
* add pruning config check

* patch cmd to update config
2020-06-07 23:26:02 -04:00
Ruaridh
4a8b5696cb
v0.8 Migration Scripts (#518)
* initial sketch

* add module migrations

* add migrations for all accout types

* test account migration

* add tendermint migration and migrate cmd

* remove need for errors pkg dependency

* add bech32 decoding fork

* add suggested params and cmd to write them

* add basic upgrade instructions

* fix tests

* address some migration todos

* tidy contrib folder

* finalize params values

* align cdp init genesis with other modules

* add tendermint and distribution test
add custom distribution migration to patch bug

* add staking migration test

* add slashing, evidence tests, refactor auth tests

* add full migration test

* remove go-amino dependency from go.mod
also tidy up unused indirect dependencies

* address remaining TODOs

* remove commented out code from legacy types

* add spot/liquidation markets ids to kava-3 params

* Apply suggestions from code review

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* address code review suggestions

* add validate genesis to migrate test

* refactor add params func

* remove commented out code from old types

* fix add params

* add deputy address

* add tests using exported kava-2 state

* incorporate new cdp params from master

* update params from review

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

* add deputy account

* add committee permissions for new params

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
2020-06-03 15:35:00 -04:00
Federico Kunze
769f3271f9
app: upgrade module 2020-05-07 16:34:05 -04:00
Ruaridh
b3fd840f79
Update keys add cmd patch (#477)
* update patch

* add tests for patch
2020-05-05 19:53:04 -04:00
Ruaridh
9d98514aaf
use new keyring for add-genesis-account (#486) 2020-05-04 20:15:12 -04:00
Federico Kunze
511e1e07ac
fix conflicts from development 2020-04-30 17:12:22 -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
5ccd4e219f
fix some tests 2020-04-28 14:04:30 -04:00
Federico Kunze
a573625df8
[R4R] bump SDK version to v0.38.3 (#421)
* bump SDK version to v0.38.3

Co-authored-by: Denali Marsh <denali@kava.io>
Co-authored-by: Kevin Davis <kjydavis3@gmail.com>
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: denalimarsh <denalimarsh@gmail.com>
Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
2020-04-23 12:35:58 -04: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
3908870761 rebase, handle first block 2019-10-09 18:42:23 -04:00
Kevin Davis
54b9cf167f rebase, add account command 2019-10-03 15:13:38 -04:00
rhuairahrighairigh
1ecc4ac115 resolve todo 2019-09-25 16:55:02 -04:00
rhuairahrighairigh
3bf82e9ee9 update app and cmd 2019-09-25 15:50:03 -04:00
rhuairahrighairigh
3871e5a84b update to latest master 2019-09-13 16:52:10 -04:00
rhuairahrighairigh
5d6141b4f2 update cmd package 2019-09-11 18:42:35 -04:00
rhuairahrighairigh
5645f5a766 tidy formatting and comments 2019-07-19 15:06:33 +01:00
rhuairahrighairigh
67c0393214 tidy up go.mod 2019-07-18 19:13:53 +01:00
rhuairahrighairigh
cfbd4e92aa update cmds 2019-07-18 19:05:26 +01:00
rhuairahrighairigh
6a33517a5d refactor address prefixes 2019-06-25 14:29:56 +01:00
rhuairahrighairigh
4ec5fd01ec change address prefixes 2019-06-21 12:32:27 +01:00
Kevin Davis
c19c3645d2 feat: rename and remove swagger-ui 2019-06-20 15:01:25 -04:00
rhuairahrighairigh
4cbc222e4f tidy up naming 2019-06-20 18:28:21 +01:00
rhuairahrighairigh
4ab69f33db rename cli and daemon binaries 2019-06-20 18:08:58 +01:00
rhuairahrighairigh
ec312fefc8 generalize app name 2019-06-20 18:02:29 +01:00
rhuairahrighairigh
17911d89f3 update import paths to local packages 2019-06-20 17:29:13 +01:00
rhuairahrighairigh
04e9e8caf4 move packages to top level 2019-06-20 17:17:45 +01:00
rhuairahrighairigh
76a7f3dd57 add 0.34 gaia 2019-06-20 14:37:57 +01:00
rhuairahrighairigh
061c27bbc6 update 2019-06-07 12:59:19 +01:00
rhuairahrighairigh
68fa7ba3ad minor fixes for testnet 2018-10-03 17:01:42 -04:00
rhuairahrighairigh
b73c2567fa fix moniker in config 2018-10-03 13:11:13 -04:00
rhuairahrighairigh
989dac2543 add testnet init helper 2018-10-02 18:50:49 -04:00
rhuairahrighairigh
a7659e2519 add latest lcd 2018-09-19 20:23:37 -04:00
rhuairahrighairigh
eb927b1fb7 update paychan cmds 2018-09-19 16:36:57 -04:00
rhuairahrighairigh
482c1646e1 update main app 2018-09-19 15:22:16 -04:00
Ruaridh
d9139b9226
Add License (#5)
* improve attribution

* Add license

* standardize license to make GitHub pick it up

* Revert "standardize license to make GitHub pick it up"

This reverts commit a4fa1def05fffacf06a803f394d9b06cd2253be2.

* add license and headers
2018-09-18 19:41:48 -04:00
rhuairahrighairigh
f58262c8b0 improve command UX 2018-09-01 22:22:50 -04:00
rhuairahrighairigh
c168718332 fix genesis bug, get app running 2018-09-01 19:29:51 -04:00