* fix: update circulating supply to accurately reflect inflationary KAVA supply
* revert lp claims subtraction
* fix: use total supply after all vesting complete
* fix go version in dockerfile
* mix frequently occuring errors
* add missed import
* fix minor validator vesting sim bug
* fix auction sim bug
* fix docker build
* add todo from sim failure
* tidy up dockerfile
* update docs, add dockerignore to speed up builds
* Update simulations/README.md
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
* add stack traces to logs for easier debugging
* replace root func with sdk version
Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
Co-authored-by: karzak <kjydavis3@gmail.com>
* 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>
* 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>
* 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>
* 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