Revert "Update rpc client header"

This reverts commit 91b2a73833.
This commit is contained in:
Sam Ricotta
2022-08-09 11:54:31 +02:00
parent 91b2a73833
commit a808aebdfe
16 changed files with 24 additions and 230 deletions
-16
View File
@@ -137,22 +137,6 @@ func (_m *BlockStore) LoadBlockPart(height int64, index int) *types.Part {
return r0
}
// LoadBlockMetaByHash provides a mock function with given fields: hash
func (_m *BlockStore) LoadBlockMetaByHash(hash []byte) *types.BlockMeta {
ret := _m.Called(hash)
var r0 *types.BlockMeta
if rf, ok := ret.Get(0).(func([]byte) *types.BlockMeta); ok {
r0 = rf(hash)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*types.BlockMeta)
}
}
return r0
}
// LoadSeenCommit provides a mock function with given fields: height
func (_m *BlockStore) LoadSeenCommit(height int64) *types.Commit {
ret := _m.Called(height)
-1
View File
@@ -29,7 +29,6 @@ type BlockStore interface {
PruneBlocks(height int64) (uint64, error)
LoadBlockByHash(hash []byte) *types.Block
LoadBlockMetaByHash(hash []byte) *types.BlockMeta
LoadBlockPart(height int64, index int) *types.Part
LoadBlockCommit(height int64) *types.Commit