Merge PR #2453: Update to tm version v0.25.0

This commit is contained in:
Dev Ojha 2018-10-07 21:08:20 -07:00 committed by Christopher Goes
parent a1bc7185a4
commit 869d85fba5
4 changed files with 17 additions and 7 deletions

10
Gopkg.lock generated
View File

@ -164,13 +164,12 @@
version = "v1.2.0"
[[projects]]
digest = "1:c0d19ab64b32ce9fe5cf4ddceba78d5bc9807f0016db6b1183599da3dcc24d10"
digest = "1:ea40c24cdbacd054a6ae9de03e62c5f252479b96c716375aace5c120d68647c8"
name = "github.com/hashicorp/hcl"
packages = [
".",
"hcl/ast",
"hcl/parser",
"hcl/printer",
"hcl/scanner",
"hcl/strconv",
"hcl/token",
@ -447,7 +446,7 @@
version = "v0.11.0"
[[projects]]
digest = "1:f4fcc1a4dbe079b200556ca26c1ff1dacf23712125b9c265d8f02c0dbc318f39"
digest = "1:a69eebd15b05045ffdb10a984e001fadc5666f74383de3d2a9ee5862ee99cfdc"
name = "github.com/tendermint/tendermint"
packages = [
"abci/client",
@ -478,6 +477,7 @@
"libs/clist",
"libs/common",
"libs/db",
"libs/errors",
"libs/events",
"libs/flowrate",
"libs/log",
@ -512,8 +512,8 @@
"version",
]
pruneopts = "UT"
revision = "d419fffe18531317c28c29a292ad7d253f6cafdf"
version = "v0.24.0"
revision = "0c9c3292c918617624f6f3fbcd95eceade18bcd5"
version = "v0.25.0"
[[projects]]
digest = "1:7886f86064faff6f8d08a3eb0e8c773648ff5a2e27730831e2bfbf07467f6666"

View File

@ -57,7 +57,7 @@
[[override]]
name = "github.com/tendermint/tendermint"
version = "=0.24.0"
version = "=0.25.0"
[[constraint]]
name = "github.com/bartekn/go-bip39"

View File

@ -68,6 +68,16 @@ BREAKING CHANGES
* [x/stake] \#2394 Split up UpdateValidator into distinct state transitions applied only in EndBlock
* Tendermint
* Update tendermint version from v0.23.0 to v0.25.0, notable changes
* Mempool now won't build too large blocks, or too computationally expensive blocks
* Maximum tx sizes and gas are now removed, and are implicitly the blocks maximums
* ABCI validators no longer send the pubkey. The pubkey is only sent in validator updates
* Validator set changes are now delayed by one block
* Block header now includes the next validator sets hash
* BFT time is implemented
* Secp256k1 signature format has changed
* There is now a threshold multisig format
* See the [tendermint changelog](https://github.com/tendermint/tendermint/blob/master/CHANGELOG.md) for other changes.
FEATURES

View File

@ -190,7 +190,7 @@ func (c Context) WithConsensusParams(params *abci.ConsensusParams) Context {
return c
}
return c.withValue(contextKeyConsensusParams, params).
WithGasMeter(NewGasMeter(params.TxSize.MaxGas))
WithGasMeter(NewGasMeter(params.BlockSize.MaxGas))
}
func (c Context) WithChainID(chainID string) Context { return c.withValue(contextKeyChainID, chainID) }