Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate genesis cmd #4471

Merged
merged 72 commits into from
Jul 3, 2019
Merged

Migrate genesis cmd #4471

merged 72 commits into from
Jul 3, 2019

Commits on Jun 3, 2019

  1. init following what's inside breaking CHANGELOGs

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    e6f42f8 View commit details
    Browse the repository at this point in the history
  2. Changelog

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    9673144 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. we skipped 0.35

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    46840e1 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Configuration menu
    Copy the full SHA
    eb24889 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. stash everything not compiling, skeleton

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    04f1a2e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. statically working,

    Once done need to experiment with go plugins to switch types as make parameters
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    0b74d51 View commit details
    Browse the repository at this point in the history
  2. migration function, broke

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    3e44ddc View commit details
    Browse the repository at this point in the history
  3. first version working

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    ae1dbbc View commit details
    Browse the repository at this point in the history
  4. need some extra eyes to check simulations

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    5956387 View commit details
    Browse the repository at this point in the history
  5. Update 4409-migration-scrip

    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    eb01af2 View commit details
    Browse the repository at this point in the history
  6. long life to the mapped functions

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    4bc62b1 View commit details
    Browse the repository at this point in the history
  7. Update contrib/export/v036/gov/types.go

    Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
    sabau and alexanderbez committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    ed420e3 View commit details
    Browse the repository at this point in the history
  8. Update contrib/export/v036/migrate.go

    Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
    sabau and alexanderbez committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    0446dd4 View commit details
    Browse the repository at this point in the history
  9. verbose but safer version

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    0c17580 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…

    … sabau/4409-migrate-genesis
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    7ca5677 View commit details
    Browse the repository at this point in the history
  11. missing flags

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    8731735 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. VoteOption and and ProposalType

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    9a4e31c View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2019

  1. use same tag as git

    Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
    sabau and alexanderbez committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    762b00e View commit details
    Browse the repository at this point in the history
  2. rename flags, print genesis instead of outputting into file

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    36bc111 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'sabau/4409-migrate-genesis' of github.com:cosmos/cosmos…

    …-sdk into sabau/4409-migrate-genesis
    sabau committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    1faa6e0 View commit details
    Browse the repository at this point in the history
  4. fix flag renaming, log fatals instead of panic

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    c7f90a8 View commit details
    Browse the repository at this point in the history
  5. remove unused var

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    f96e1bb View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2019

  1. fail if missing flags

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    c4d307e View commit details
    Browse the repository at this point in the history
  2. mandatory arguments become positionals

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    5d94dca View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2019

  1. Cleanup

    alexanderbez committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    e2f6fe9 View commit details
    Browse the repository at this point in the history
  2. Update contrib/export/types/types.go

    Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
    sabau and alexanderbez committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    3295563 View commit details
    Browse the repository at this point in the history
  3. cleanup and add make command

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    9709380 View commit details
    Browse the repository at this point in the history
  4. align docs

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 18, 2019
    Configuration menu
    Copy the full SHA
    2aea524 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

  1. fix makefile

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    c692a13 View commit details
    Browse the repository at this point in the history
  2. cleanup comments

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    b5da6d0 View commit details
    Browse the repository at this point in the history
  3. cobra version for flags

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    a708f52 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2019

  1. Update contrib/export/main.go

    Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
    sabau and fedekunze committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    756a45d View commit details
    Browse the repository at this point in the history
  2. move comment, remove unnecessary cobra check, fix makefile

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    601d007 View commit details
    Browse the repository at this point in the history
  3. override time and chain-id with optional flags

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    a16c3b3 View commit details
    Browse the repository at this point in the history
  4. Cleanup export command

    alexanderbez committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    02ead07 View commit details
    Browse the repository at this point in the history
  5. remove source flag, add new flags to doc

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    2a9fa3c View commit details
    Browse the repository at this point in the history
  6. docs, add flag on both examples

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    ee652a3 View commit details
    Browse the repository at this point in the history
  7. More cleanup

    alexanderbez committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    9f3fdd4 View commit details
    Browse the repository at this point in the history
  8. Update pending log entry

    alexanderbez committed Jun 20, 2019
    Configuration menu
    Copy the full SHA
    58fa889 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2019

  1. functions helps, but still simulation fails

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 21, 2019
    Configuration menu
    Copy the full SHA
    e354f93 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…

    … sabau/4409-migrate-genesis
    sabau committed Jun 21, 2019
    Configuration menu
    Copy the full SHA
    9a8ebac View commit details
    Browse the repository at this point in the history
  3. double codec, types from 034 fixed, registered types,

    - problem with gov prefix for concrete types,
    - content still null
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 21, 2019
    Configuration menu
    Copy the full SHA
    9a1d4d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. fixed both problems with old and new prefixes, double codec actually …

    …helps
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    fca4757 View commit details
    Browse the repository at this point in the history
  2. remove debugging assignment

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    7cd5379 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. add step by step guide to export and migrate

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    abfd8fa View commit details
    Browse the repository at this point in the history
  2. practical example from scratch, genesis from github does not match wi…

    …th mainnet version
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    bf9453a View commit details
    Browse the repository at this point in the history
  3. support versions in between in 0.33.x migration script

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    9163645 View commit details
    Browse the repository at this point in the history
  4. explicit double migration example

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    ef1ca22 View commit details
    Browse the repository at this point in the history
  5. make migrate root command for now

    - later we can split into migrate genesis and migrate store
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    497afc4 View commit details
    Browse the repository at this point in the history
  6. rename export to migrate

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    004bcc9 View commit details
    Browse the repository at this point in the history
  7. cleanup README

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    212791e View commit details
    Browse the repository at this point in the history
  8. remove unnecessary unmarshal/marshal on each module

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    f915ea1 View commit details
    Browse the repository at this point in the history
  9. add testnet genesis and cci check

    - we should pick genesis from testnet repo once there
    
    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    f2f0dc6 View commit details
    Browse the repository at this point in the history
  10. build and run migrate

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 25, 2019
    Configuration menu
    Copy the full SHA
    1bea87b View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. move types to legacy and governance migration function too

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    32fc8e8 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

  1. Update contrib/migrate/v036/migrate.go

    Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
    sabau and alexanderbez committed Jun 27, 2019
    Configuration menu
    Copy the full SHA
    0980d2d View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. remove CCI check

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    891d4a3 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…

    … sabau/4409-migrate-genesis
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    b8b4cdf View commit details
    Browse the repository at this point in the history
  3. mvoe command out of contrib inside genutil

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    4a7df4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a61bae View commit details
    Browse the repository at this point in the history
  5. standardize command

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    791e174 View commit details
    Browse the repository at this point in the history
  6. remove unused function from 034 types

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    4f37798 View commit details
    Browse the repository at this point in the history
  7. remove deprecated makefile target, align docs

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    799115b View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Configuration menu
    Copy the full SHA
    daeb260 View commit details
    Browse the repository at this point in the history
  2. add some tests on new command

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    31326bf View commit details
    Browse the repository at this point in the history
  3. Update x/genutil/legacy/v036/migrate_test.go

    Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
    sabau and fedekunze committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    247b487 View commit details
    Browse the repository at this point in the history
  4. simplify emptyGenesis body

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    ee27266 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…

    … sabau/4409-migrate-genesis
    sabau committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    0671983 View commit details
    Browse the repository at this point in the history
  6. remove test on parameters length

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    77f2117 View commit details
    Browse the repository at this point in the history
  7. cobra command description replace binary with ServerName

    Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
    sabau committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    04a94ae View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Configuration menu
    Copy the full SHA
    f9d8ea0 View commit details
    Browse the repository at this point in the history
  2. Cleanup

    alexanderbez committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    e191e4d View commit details
    Browse the repository at this point in the history