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

R4R: Release 0.25.0 #2588

Closed
wants to merge 971 commits into from
Closed

R4R: Release 0.25.0 #2588

wants to merge 971 commits into from

Conversation

cwgoes
Copy link
Contributor

@cwgoes cwgoes commented Oct 24, 2018

PR to release v0.25.0.


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

mossid and others added 30 commits October 9, 2018 21:05
* Correctly set proposer in randomized simulation

* Return nil if no validators are present
This is basically copying over @anton's great script!

Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* WIP simplifying server module
* Expose ExternalIP()
* Move {GenTx,Init}Cmd into gaia's new init package
@codecov
Copy link

codecov bot commented Oct 24, 2018

Codecov Report

Merging #2588 into master will decrease coverage by 4.91%.
The diff coverage is 36.78%.

@@            Coverage Diff             @@
##           master    #2588      +/-   ##
==========================================
- Coverage   63.76%   58.85%   -4.92%     
==========================================
  Files         113      152      +39     
  Lines        6671     9411    +2740     
==========================================
+ Hits         4254     5539    +1285     
- Misses       2131     3503    +1372     
- Partials      286      369      +83

@cwgoes cwgoes added the wip label Oct 24, 2018
@cwgoes cwgoes changed the title WIP: Release 0.25.0 R4R: Release 0.25.0 Oct 24, 2018
@cwgoes
Copy link
Contributor Author

cwgoes commented Oct 24, 2018

PR to merge release branch back to develop (#6 on the release checklist): #2590

@alexanderbez
Copy link
Contributor

Took a look at the few latest changes, which LGTM.

@alexanderbez
Copy link
Contributor

Ignore my previous comments (which I deleted). Thing that I have tried to do that failed is creating a new key:

$ gaiacli keys new foo entering all defaults except my passphrase. I get the following:

panic: Panicked on a Crisis: leveldb: read-only mode

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/common.PanicCrisis(0x494e560, 0xc000186090)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/common/errors.go:232 +0xb8
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db.(*GoLevelDB).SetSync(0xc0001a0170, 0xc00019a768, 0x8, 0x8, 0xc0001c81c0, 0x125, 0x1a3)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/db/go_level_db.go:80 +0xc7
github.com/cosmos/cosmos-sdk/crypto/keys.dbKeybase.writeInfo(0x4f02920, 0xc0001a0170, 0x4efaa60, 0xc0001fb5c0, 0x7ffeefbffa41, 0x3)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/crypto/keys/keybase.go:460 +0xc5
github.com/cosmos/cosmos-sdk/crypto/keys.dbKeybase.writeLocalKey(0x4f02920, 0xc0001a0170, 0x4efbce0, 0xc00019c7e0, 0x7ffeefbffa41, 0x3, 0xc000af6028, 0x8, 0xc0001f41c0, 0xf)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/crypto/keys/keybase.go:441 +0x140
github.com/cosmos/cosmos-sdk/crypto/keys.(*dbKeybase).persistDerivedKey(0xc0004a1838, 0xc0000342c0, 0x40, 0x40, 0xc000af6028, 0x8, 0x7ffeefbffa41, 0x3, 0xc0001f41c0, 0xf, ...)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/crypto/keys/keybase.go:189 +0x23f
github.com/cosmos/cosmos-sdk/crypto/keys.dbKeybase.Derive(0x4f02920, 0xc0001a0170, 0x7ffeefbffa41, 0x3, 0xc00003c140, 0x92, 0x0, 0x0, 0xc000af6028, 0x8, ...)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/crypto/keys/keybase.go:153 +0x15a
github.com/cosmos/cosmos-sdk/client/keys.runNewCmd(0xc000b78b40, 0xc000b81030, 0x1, 0x1, 0x0, 0x0)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/client/keys/new.go:142 +0x428
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).execute(0xc000b78b40, 0xc000b81000, 0x1, 0x1, 0xc000b78b40, 0xc000b81000)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:698 +0x47a
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x5633ba0, 0x6, 0xc000b8ad20, 0x0)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:783 +0x2dc
github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra.(*Command).Execute(0x5633ba0, 0x4a73870, 0x6)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/spf13/cobra/command.go:736 +0x2b
github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli.Executor.Execute(0x5633ba0, 0x4e2fef8, 0x0, 0xc00011fc20)
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/libs/cli/setup.go:89 +0x4e
main.main()
	/Users/aleksbez/go/src/github.com/cosmos/cosmos-sdk/cmd/gaia/cmd/gaiacli/main.go:140 +0xca9

/cc @alessio

@jackzampolin
Copy link
Member

jackzampolin commented Oct 24, 2018

This is the fix right @alexanderbez? #2593

@alexanderbez
Copy link
Contributor

Yes.

@cwgoes
Copy link
Contributor Author

cwgoes commented Oct 25, 2018

Caught another issue with multi-seed simulation.

edit: Let's track this further on #2573.

@cwgoes
Copy link
Contributor Author

cwgoes commented Oct 25, 2018

The release branch has been merged back to develop. Closing this so we can debug the simulation failures.

Let's open a new release branch and re-run the release process when we've found the underlying issue.

@cwgoes cwgoes closed this Oct 25, 2018
@cwgoes cwgoes deleted the release/v0.25.0 branch October 25, 2018 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.