Commit Graph

1322 Commits

Author SHA1 Message Date
Ruaridh
60489c10a1
Fix: register msgs on legacy codec (#1200)
* add deposits to genesis state

* import/export genesis with deposits

* add helper keeper method + update tests

* invariants + tests

* register invariants on module

* fix genesis test invariant init

* clean up invariants test

* remove comment from test file

* fix invariants test

* register msgs on legacy codec

Co-authored-by: denalimarsh <denalimarsh@gmail.com>
2022-03-30 17:21:59 +02:00
Denali Marsh
988836dee0
Savings module invariants (#1199)
* add deposits to genesis state

* import/export genesis with deposits

* add helper keeper method + update tests

* invariants + tests

* register invariants on module

* fix genesis test invariant init

* clean up invariants test

* remove comment from test file

* fix invariants test

* run 'make proto-all'
2022-03-30 13:51:06 +02:00
Denali Marsh
003b040458
Savings genesis state (#1198)
* add deposits to genesis state

* import/export genesis with deposits

* add helper keeper method + update tests
2022-03-29 11:45:04 +02:00
Denali Marsh
70d431b5c8
Savings module withdrawals (#1197)
* proto types

* updated types, generated protobuf types

* add to client

* add withdraw keeper methods + test

* more withdraw keeper test cases

* revisions
2022-03-28 13:53:42 +02:00
Ruaridh
3b187011bb
Fix proto-gen after docs removal (#1196)
* add back proto docs template

* ignore all third party packages from proto lint

* generate missing proto docs/linting

* update old branch name for proto-check-breaking

* remove dependency changes from proto generation

* remove no longer needed docs cmds from makefile

* use v0.3 dev image w/ go 1.17; add go mod tidy back

Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-03-25 15:15:02 +00:00
Denali Marsh
f0fa2e1253
Savings module: deposit querier (#1193)
* module files

* proto types

* types and generated proto types

* keeper

* client scaffold

* add savings module to app

* remove placeholder types file

* implement rest and add to module

* update proto types

* validation for supported denoms

* generate updates proto types

* update comments

* update comments

* remove unused imports from proto files

* regenerate proto files

* update proto types

* client

* deposit type and generated proto types

* deposit keeper methods + tests

* update savings module file

* update app.go + test common

* query proto types

* query types + generated proto types

* keeper logic for deposits queries

* cli/rest querier updates

* remove abci

* remove refs to other modules

* remove endblocker call

* genesis init test for module account

* update genesis test with params

* add get/set params test

* fix up keeper test

* use params getter

* simplify if/else statement

* remove querier.go and rest/query

* update query deposit description

* remove legacy querier

* register querier

* revisions
2022-03-24 17:43:03 +01:00
Ruaridh
26e350945e
fix struct tag json syntax (#1194) 2022-03-24 08:46:09 -06:00
Denali Marsh
a073238f34
Savings module deposits (#1192)
* module files

* proto types

* types and generated proto types

* keeper

* client scaffold

* add savings module to app

* remove placeholder types file

* implement rest and add to module

* update proto types

* validation for supported denoms

* generate updates proto types

* update comments

* update comments

* remove unused imports from proto files

* regenerate proto files

* update proto types

* client

* deposit type and generated proto types

* deposit keeper methods + tests

* update savings module file

* update app.go + test common

* remove abci

* remove refs to other modules

* remove endblocker call

* genesis init test for module account

* update genesis test with params

* add get/set params test

* fix up keeper test

* use params getter

* simplify if/else statement

* fix: add msgServer to keeper

* fix: register deposit message

* update deposit test

* wrap invalid deposit denom error msg

Co-authored-by: karzak <kjydavis3@gmail.com>
2022-03-23 15:34:23 +01:00
Denali Marsh
451bc05f47
Savings module params (#1190)
* module files

* proto types

* types and generated proto types

* keeper

* client scaffold

* add savings module to app

* remove placeholder types file

* implement rest and add to module

* update proto types

* validation for supported denoms

* generate updates proto types

* update comments

* update comments

* remove unused imports from proto files

* regenerate proto files

* remove abci

* remove refs to other modules

* remove endblocker call

* genesis init test for module account

* update genesis test with params

* add get/set params test
2022-03-23 14:27:54 +01:00
Denali Marsh
8540a5c06f
Savings module scaffold (#1188)
* module files

* proto types

* types and generated proto types

* keeper

* client scaffold

* add savings module to app

* remove placeholder types file

* implement rest and add to module

* update comments

* remove unused imports from proto files

* remove abci

* remove refs to other modules

* remove endblocker call

* genesis init test for module account
2022-03-22 22:13:27 +01:00
Kevin Davis
214a07b788
add token logos (#1185) 2022-03-10 13:24:21 -07:00
stephensprinkle
666f136661
removal of docs dir, migrated to discrete repo (#1169) 2022-02-22 16:59:02 +00:00
samcode206
c5dad2f19c
move FAQ to docs page (#1166)
* move FAQ to docs page

* rename

* rename2

* rename3

* update protocol naming

* marketing changes

Co-authored-by: Sam Hadi <worker@Sams-MacBook-Pro.local>
2022-02-15 12:05:50 -08:00
Adam Robert Turman
205825658f
update docs for kava-9 and v0.16.1 (#1165) 2022-02-14 14:18:24 -06:00
Kevin Davis
79ef1a52a4
feat: update changlog for v0.16, unreleased breaking changes (#1164)
* feat: update changlog for v0.16, unreleased breaking changes

* feat: update to latest mainnet version

* fix: link releases
2022-02-08 09:51:37 -08:00
Kevin Davis
c76b5f98b7
fix: use new bid duration params for same-bidder tests (#1163) 2022-02-08 09:33:42 -08: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
Blockchain Validator
b3879f2633
Update validator_guide to latest version. (#1161)
* Update validator_guide.md

* Update validator_guide.md

* Update validator_guide.md
2022-02-08 08:43:22 -08:00
Ruaridh
c0f71921d9
Test repeat auction bidding (#1159)
* improve error messages

* add tests for re-bidding with small balance
2022-02-08 08:42:00 -08:00
Derrick Lee
1ccaf2ef06
Include all Kava grpc-gateway and legacy endpoints to Swagger (#1157)
* Add ibc swagger fetch in Makefile proto-update-deps

* Update third_party proto files

* Update swagger to include all Kava modules and IBC

* Add api url to swagger config

* Remove old swagger-ui directory

* Add cleaned legacy-swagger.yml

* Remove cosmos endpoints from legacy swagger

* Remove invalid values, add legacy-swagger to merge config

* Remove unused definitions

* Fix legacy swagger type errors

* Clean up mismatch names, deprecate legacy endpoints

* Remove separate incentive-legacy-swagger.yml

* Update title

* Include legacy in title

* Re-build swagger conf with updated title
2022-02-04 10:58:35 -07:00
Nick DeLuca
699dca8913
instantiate kava disk keeper before passing to community multi spend (#1153)
proposal handler in gov routing
2022-02-02 18:30:05 -07:00
Derrick Lee
9f73659274
Fix committee Votes grpc query response (#1156)
* Append votes to queryResults, remove unused GetVotesByProposal

* Add Votes grpc_query test
2022-02-01 20:16:53 -08:00
Derrick Lee
4704817ce8
Remove panic if Swagger disabled in config (#1155) 2022-02-01 08:32:17 -08:00
Denali Marsh
03ab76bb2d
Pricefeed query fix (#1149)
* filter prices in querier

* filter prices in grpc querier

* test grpc querier
2022-01-25 15:56:51 +01:00
samcode206
31b8ed2276
update cli docs for launch (#1144)
Co-authored-by: Sam Hadi <worker@Sams-MacBook-Pro.local>
2022-01-19 10:58:15 -08:00
Kevin Davis
535dc7d470
Update README for kava-9 2022-01-19 11:35:13 -06:00
Kevin Davis
38bb4eba4c
export using last committed block height 2022-01-19 08:02:40 -06:00
Kevin Davis
184ef2ad41
feat: add instructions for testing migration file hash (#1143)
* feat: add instructions for testing migration file hash

* fix: sort json before hashing
2022-01-17 10:59:51 -06:00
Jacob Gadikian
eb331d40df
IBC enhancements (#1138)
* Update dependencies

* remove gitpod config
2022-01-17 09:24:43 -07:00
Kevin Davis
691a483675
fix: only set config in migration if unsealed (#1142) 2022-01-17 09:27:11 -06:00
Kevin Davis
2e99b716e2
fix: use kava instead of kvd (#1141) 2022-01-16 23:03:01 -06:00
Nick DeLuca
4f300a040e
update dockerfile, ci, and migration instructions to go 1.17 (#1140) 2022-01-16 19:24:37 -07:00
Ruaridh
e9a28cefd8
Reset bep3 swaps for zero height in migration (#1135)
* reinstate and expand export test

* format testdata json

* sort bep3 testdata json for easier diffing

* add more bep3 swap examples to test data

* reset swaps for zero height

* update top level migration testdata
2022-01-14 20:17:49 -07:00
Denali Marsh
779f8081e7
Update migrations to include uatom IBC denom money market (#1132)
* add uatom ibc denom to money markets in hard migration

* add new money market to stability committee

* clean up

* update v0_16 migration test data

* add swp, uatom ibc denoms to hard gov committee

* update committee migration testdata

* update general migration test data

* specify committee ID with vars

* fix merge var rename bug

Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
2022-01-15 00:12:23 +00:00
Nick DeLuca
2f9eb9ece1
use forked cosmos-sdk with patches (#1137) 2022-01-14 17:03:29 -07:00
Derrick Lee
4426ca3c0c
Add initial height, app version, evidence maxbytes to migration (#1134)
* Add initial height, app version, evidence maxbytes

* Update Evidence.MaxBytes to 50000

* Add test for Evidence.MaxBytes <= Block.MaxBytes
2022-01-14 22:56:57 +00:00
Derrick Lee
1a51d1fb00
Add IBC markets to pricefeed migration (#1131)
* Add ibc markets to pricefeed

* Default empty oracles if no markets

* Update pricefeed migration tests

* Add ibc markets to testdata genesis pricefeed

* Add existing pricefeed markets and new ibc markets to committee permissions

* Remove stray empty branch

* Panic on committee migration if pricefeed app state is missing

* Remove redundant import
2022-01-14 14:24:57 -07:00
Nick DeLuca
d71f406ceb
Add Third Party Protos for IBC Types (#1127)
* add ibc-go third party protos

* add missing proofs proto definition
2022-01-13 09:39:32 -07:00
Ivan Shcherbinin
4d31712978
Create rollback.md (#1133)
I tried to reproduce the previous instruction. Please check if everything is correct.
2022-01-13 08:54:19 -07:00
Derrick Lee
4615cef939
Update migration instructions kava-7 to kava-8 (#1130) 2022-01-11 10:31:47 -07:00
Kevin Davis
08f01ec76f
add migration guide for v16 (#1128)
* feat: add migration guide for v16

* fix: title
2022-01-10 18:13:48 -07:00
Nick DeLuca
75dec0d79c
Sync all third party protos for all messages, queries, tx signing, etc (#1124)
* sync all third party proto definitions

* update cosmos swagger for new imported third party protos
2022-01-07 18:59:34 -07:00
Nick DeLuca
9c6002471b
enable docker build kit (#1126) 2022-01-07 18:41:56 -07:00
Nick DeLuca
92b36b09f5
Update CircleCI Docker Version & Temporarily Disable Sims (#1125)
* update docker version

* temporarily comment out sims in test all
2022-01-07 18:34:11 -07:00
Draco Li
8b53fa61c5
Migrate v15 SubParamPermission to v16 ParamsChangePermission (#1115)
* migrate subparam permission to params change permission

* add new requirements for stability committee

* fix tests for stability committee
2022-01-08 01:22:00 +00: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
Adam Robert Turman
ab299efeaf
Added light node guide to docs (#1121)
* added light node guide to docs

* edits
2022-01-05 12:17:39 -06:00
samcode206
dc3c06d866
Merge pull request #1057 from Kava-Labs/sh-docs-additions
restructured and improved docs
2021-12-06 15:47:29 -08:00
Sam Hadi
a57ab64aaa removed lite paper and unfinished docs 2021-12-06 15:38:36 -08:00
Sam Hadi
be5f931edd removed lite paper 2021-12-06 15:37:30 -08:00