Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Upgrade to Tendermint 0.9.2 #595

Merged

Conversation

silasdavis
Copy link
Contributor

This PR:

  • Makes changes necessary to support Tendermint 0.9.2 and upgrades our dependencies to match
  • Adds attempt to gracefully shutdown ConsensusEngine
  • Updates RPC tests to use genesis making and config generation rather than hard-coded values

Silas Davis added 2 commits April 29, 2017 15:13
Use genesis and config makers in test

Introduce assertion on global Burrow version and get Application to assert compatible consensus by type
Copy link
Contributor

@benjaminbollen benjaminbollen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -119,3 +119,8 @@ func (core *Core) NewGatewayTendermint(config *server.ServerConfig) (
return rpc_tendermint.NewTendermintWebsocketServer(config,
core.tendermintPipe, core.evsw)
}

// Stop the core allowing for a graceful shutdown of component in order.
func (core *Core) Stop() bool {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

// set and voting power distribution see our BlockchainAware interface
func (app *BurrowMint) EndBlock(height uint64) (respEndblock abci.ResponseEndBlock) {
// TODO: [Silas] Bondage
// TODO: [Silas] this might be a better place for us to dispatch new block
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually only issue with that is is that I think they are sending ABCI EndBlock before they save Tendermint state. Not an issue for something things, but may be if you were expecting post-block consensus state to be ready.

@benjaminbollen benjaminbollen merged commit e0225b3 into hyperledger-archives:develop May 2, 2017
@silasdavis silasdavis deleted the tm-0.9.2-only branch May 2, 2017 12:21
@benjaminbollen
Copy link
Contributor

closes #583

@silasdavis silasdavis mentioned this pull request Sep 4, 2017
silasdavis pushed a commit to silasdavis/burrow that referenced this pull request Mar 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants