cosmos-sdk/x/evidence
Amaury dfc8dd813e
Add in-place store migrations (#8485)
* Add 1st version of migrate

* Put migration logic into Configurator

* add test to bank store migration

* add test for configurator

* Error if no migration found

* Remove RunMigrations from Configurator interface

* Update spec

* Rename folders

* copy-paste from keys.go

* Fix nil map

* rename function

* Update simapp/app.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update simapp/app_test.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Adderss reviews

* Fix tests

* Update testutil/context.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs for ConsensusVersion

* Rename to forVersion

* Fix tests

* Check error early

* Return 1 for intiial version

* Use MigrationKeeper

* Fix test

* Revert adding marshaler to Configurator

* Godoc updates

* Update docs

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-02-10 17:49:31 +00:00
..
client Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
exported Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080) 2020-12-08 09:27:08 +00:00
keeper Persist evidence in equivocation handler (#8502) 2021-02-05 15:35:03 +00:00
legacy 8058 fix zero time checks (#8282) 2021-01-09 12:08:46 +00:00
simulation Change address from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
spec Persist evidence in equivocation handler (#8502) 2021-02-05 15:35:03 +00:00
types fix bech32 prefix in evidence (#8461) 2021-01-29 20:05:24 +00:00
abci.go Merge PR #7251: Cleanup of evidence types 2020-09-08 09:33:53 -07:00
doc.go x/evidence doc general audit & cleanup (#8277) 2021-01-07 16:12:54 +00:00
genesis_test.go Change address from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
handler_test.go Refactor x/evidence to ADR-031 (#7538) 2020-10-16 16:05:25 +00:00
handler.go Refactor x/evidence to ADR-031 (#7538) 2020-10-16 16:05:25 +00:00
module.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00