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
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
e6f42f8
init following what's inside breaking CHANGELOGs
sabau Jun 3, 2019
9673144
Changelog
sabau Jun 3, 2019
46840e1
we skipped 0.35
sabau Jun 4, 2019
eb24889
Merge branch 'master' into sabau/4409-migrate-genesis
sabau Jun 6, 2019
04f1a2e
stash everything not compiling, skeleton
sabau Jun 11, 2019
0b74d51
statically working,
sabau Jun 12, 2019
3e44ddc
migration function, broke
sabau Jun 12, 2019
ae1dbbc
first version working
sabau Jun 12, 2019
5956387
need some extra eyes to check simulations
sabau Jun 12, 2019
eb01af2
Update 4409-migration-scrip
sabau Jun 12, 2019
4bc62b1
long life to the mapped functions
sabau Jun 12, 2019
ed420e3
Update contrib/export/v036/gov/types.go
sabau Jun 12, 2019
0446dd4
Update contrib/export/v036/migrate.go
sabau Jun 12, 2019
0c17580
verbose but safer version
sabau Jun 12, 2019
7ca5677
Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…
sabau Jun 12, 2019
8731735
missing flags
sabau Jun 12, 2019
9a4e31c
VoteOption and and ProposalType
sabau Jun 14, 2019
762b00e
use same tag as git
sabau Jun 15, 2019
36bc111
rename flags, print genesis instead of outputting into file
sabau Jun 15, 2019
1faa6e0
Merge branch 'sabau/4409-migrate-genesis' of github.com:cosmos/cosmos…
sabau Jun 15, 2019
c7f90a8
fix flag renaming, log fatals instead of panic
sabau Jun 15, 2019
f96e1bb
remove unused var
sabau Jun 15, 2019
c4d307e
fail if missing flags
sabau Jun 16, 2019
5d94dca
mandatory arguments become positionals
sabau Jun 16, 2019
e2f6fe9
Cleanup
alexanderbez Jun 18, 2019
3295563
Update contrib/export/types/types.go
sabau Jun 18, 2019
9709380
cleanup and add make command
sabau Jun 18, 2019
2aea524
align docs
sabau Jun 18, 2019
c692a13
fix makefile
sabau Jun 19, 2019
b5da6d0
cleanup comments
sabau Jun 19, 2019
a708f52
cobra version for flags
sabau Jun 19, 2019
756a45d
Update contrib/export/main.go
sabau Jun 20, 2019
601d007
move comment, remove unnecessary cobra check, fix makefile
sabau Jun 20, 2019
a16c3b3
override time and chain-id with optional flags
sabau Jun 20, 2019
02ead07
Cleanup export command
alexanderbez Jun 20, 2019
2a9fa3c
remove source flag, add new flags to doc
sabau Jun 20, 2019
ee652a3
docs, add flag on both examples
sabau Jun 20, 2019
9f3fdd4
More cleanup
alexanderbez Jun 20, 2019
58fa889
Update pending log entry
alexanderbez Jun 20, 2019
e354f93
functions helps, but still simulation fails
sabau Jun 21, 2019
9a8ebac
Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…
sabau Jun 21, 2019
9a1d4d1
double codec, types from 034 fixed, registered types,
sabau Jun 21, 2019
fca4757
fixed both problems with old and new prefixes, double codec actually …
sabau Jun 24, 2019
7cd5379
remove debugging assignment
sabau Jun 24, 2019
abfd8fa
add step by step guide to export and migrate
sabau Jun 25, 2019
bf9453a
practical example from scratch, genesis from github does not match wi…
sabau Jun 25, 2019
9163645
support versions in between in 0.33.x migration script
sabau Jun 25, 2019
ef1ca22
explicit double migration example
sabau Jun 25, 2019
497afc4
make migrate root command for now
sabau Jun 25, 2019
004bcc9
rename export to migrate
sabau Jun 25, 2019
212791e
cleanup README
sabau Jun 25, 2019
f915ea1
remove unnecessary unmarshal/marshal on each module
sabau Jun 25, 2019
f2f0dc6
add testnet genesis and cci check
sabau Jun 25, 2019
1bea87b
build and run migrate
sabau Jun 25, 2019
32fc8e8
move types to legacy and governance migration function too
sabau Jun 26, 2019
0980d2d
Update contrib/migrate/v036/migrate.go
sabau Jun 27, 2019
891d4a3
remove CCI check
sabau Jun 28, 2019
b8b4cdf
Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…
sabau Jun 28, 2019
4a7df4a
mvoe command out of contrib inside genutil
sabau Jun 28, 2019
9a61bae
Merge branch 'master' into sabau/4409-migrate-genesis
sabau Jun 28, 2019
791e174
standardize command
sabau Jun 28, 2019
4f37798
remove unused function from 034 types
sabau Jun 28, 2019
799115b
remove deprecated makefile target, align docs
sabau Jun 28, 2019
daeb260
Merge branch 'master' into sabau/4409-migrate-genesis
sabau Jul 1, 2019
31326bf
add some tests on new command
sabau Jul 1, 2019
247b487
Update x/genutil/legacy/v036/migrate_test.go
sabau Jul 1, 2019
ee27266
simplify emptyGenesis body
sabau Jul 1, 2019
0671983
Merge remote-tracking branch 'origin/sabau/4409-migrate-genesis' into…
sabau Jul 1, 2019
77f2117
remove test on parameters length
sabau Jul 1, 2019
04a94ae
cobra command description replace binary with ServerName
sabau Jul 1, 2019
f9d8ea0
Merge branch 'master' into sabau/4409-migrate-genesis
alexanderbez Jul 2, 2019
e191e4d
Cleanup
alexanderbez Jul 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Changelog
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
sabau committed Jun 3, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 96731445fa6be9d90481db71aef38231eaae5889
1 change: 1 addition & 0 deletions .pending/features/sdk/4409-migration-scrip
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4409 migration script align genesis from 0.34 to 0.35