chore: downgrade to tendermint v0.34.x (#12958)
This commit is contained in:
+4
-4
@@ -36,7 +36,7 @@ type Context struct {
|
||||
checkTx bool
|
||||
recheckTx bool // if recheckTx == true, then checkTx must also be true
|
||||
minGasPrice DecCoins
|
||||
consParams *tmproto.ConsensusParams
|
||||
consParams *abci.ConsensusParams
|
||||
eventManager *EventManager
|
||||
priority int64 // The tx priority, only relevant in CheckTx
|
||||
}
|
||||
@@ -74,8 +74,8 @@ func (c Context) HeaderHash() tmbytes.HexBytes {
|
||||
return hash
|
||||
}
|
||||
|
||||
func (c Context) ConsensusParams() *tmproto.ConsensusParams {
|
||||
return proto.Clone(c.consParams).(*tmproto.ConsensusParams)
|
||||
func (c Context) ConsensusParams() *abci.ConsensusParams {
|
||||
return proto.Clone(c.consParams).(*abci.ConsensusParams)
|
||||
}
|
||||
|
||||
func (c Context) Deadline() (deadline time.Time, ok bool) {
|
||||
@@ -217,7 +217,7 @@ func (c Context) WithMinGasPrices(gasPrices DecCoins) Context {
|
||||
}
|
||||
|
||||
// WithConsensusParams returns a Context with an updated consensus params
|
||||
func (c Context) WithConsensusParams(params *tmproto.ConsensusParams) Context {
|
||||
func (c Context) WithConsensusParams(params *abci.ConsensusParams) Context {
|
||||
c.consParams = params
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user