cosmos-sdk/x/upgrade/types
technicallyty 5bd93bfe7b
x/upgrade: added consensus version tracking (part of ADR-041) (#8743)
* -added consensus version tracking to x/upgrade

* -added interface to module manager -added e2e test for migrations using consensus version store in x/upgrade -cleaned up x/upgrade Keeper -handler in apply upgrade now handles errors and setting consensus versions -cleaned up migration map keys -removed init chainer method -simapp now implements GetConsensusVersions to assist with testing

* Changed MigrationMap identifier to VersionMap
removed module_test

* updated docs

* forgot this

* added line to changelog for this PR

* Change set consensus version function to match adr 041 spec

* add documentation

* remove newline from changelog

unnecessary newline removed

* updated example in simapp for RunMigrations, SetCurrentConsensusVersions now returns an error

* switch TestMigrations to use Require instead of t.Fatal

* Update CHANGELOG.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* docs for SetVersionManager

* -init genesis method added -removed panics/fails from setting consensus versions

* update identifiers to be more go-like

* update docs and UpgradeHandler fnc sig

* Upgrade Keeper now takes a VersionMap instead of a VersionManager interface

* upgrade keeper transition to Version Map

* cleanup, added versionmap return to RunMigrations

* quick fix

* Update docs/architecture/adr-041-in-place-store-migrations.md

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>

* remove support for versionmap field on upgrade keeper

* cleanup

* rename get/set version map keeper functions

* update adr doc to match name changes

* remove redudant line

Co-authored-by: technicallyty <48813565+tytech3@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-19 22:01:29 +00:00
..
codec.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
handler.go x/upgrade: added consensus version tracking (part of ADR-041) (#8743) 2021-03-19 22:01:29 +00:00
keys.go x/upgrade: added consensus version tracking (part of ADR-041) (#8743) 2021-03-19 22:01:29 +00:00
plan.go x/upgrade: remove support for time based upgrades (#8849) 2021-03-14 01:03:01 +00:00
plan_test.go x/upgrade: remove support for time based upgrades (#8849) 2021-03-14 01:03:01 +00:00
proposal.go Remove IBC logic from x/upgrade (#8673) 2021-03-01 16:28:54 +00:00
proposal_test.go x/upgrade: remove support for time based upgrades (#8849) 2021-03-14 01:03:01 +00:00
querier.go x/{gov,params,upgrade,distribution} CLI: In-Process test & use grpc query service (#6664) 2020-07-20 13:09:57 +00:00
query.pb.go Remove IBC logic from x/upgrade (#8673) 2021-03-01 16:28:54 +00:00
query.pb.gw.go gRPC gateway issue with colons in the account url path (#8649) 2021-02-22 11:30:45 +00:00
storeloader.go Fix upgrade store loader (#7817) 2020-11-13 15:27:52 +00:00
storeloader_test.go Fix upgrade store loader (#7817) 2020-11-13 15:27:52 +00:00
upgrade.pb.go x/upgrade: remove support for time based upgrades (#8849) 2021-03-14 01:03:01 +00:00