Update plugins for new interface

This commit is contained in:
Matt Bell 2017-02-04 14:47:51 -08:00
parent 4ea03bc9dd
commit 8af20facc3
2 changed files with 6 additions and 6 deletions

View File

@ -93,9 +93,9 @@ func (cp *CounterPlugin) RunTx(store types.KVStore, ctx types.CallContext, txByt
func (cp *CounterPlugin) InitChain(store types.KVStore, vals []*abci.Validator) {
}
func (cp *CounterPlugin) BeginBlock(store types.KVStore, height uint64) {
func (cp *CounterPlugin) BeginBlock(store types.KVStore, hash []byte, header *abci.Header) {
}
func (cp *CounterPlugin) EndBlock(store types.KVStore, height uint64) []*abci.Validator {
return nil
func (cp *CounterPlugin) EndBlock(store types.KVStore, height uint64) (res abci.ResponseEndBlock) {
return
}

View File

@ -374,11 +374,11 @@ func (sm *IBCStateMachine) runPacketPostTx(tx IBCPacketPostTx) {
func (ibc *IBCPlugin) InitChain(store types.KVStore, vals []*abci.Validator) {
}
func (ibc *IBCPlugin) BeginBlock(store types.KVStore, height uint64) {
func (cp *IBCPlugin) BeginBlock(store types.KVStore, hash []byte, header *abci.Header) {
}
func (ibc *IBCPlugin) EndBlock(store types.KVStore, height uint64) []*abci.Validator {
return nil
func (cp *IBCPlugin) EndBlock(store types.KVStore, height uint64) (res abci.ResponseEndBlock) {
return
}
//--------------------------------------------------------------------------------