@ -115,11 +115,11 @@ func (_m *Client) Block(ctx context.Context, height *int64) (*coretypes.ResultBl
}
}
// BlockByHash provides a mock function with given fields: ctx, hash
// BlockByHash provides a mock function with given fields: ctx, hash
func ( _m * Client ) BlockByHash ( ctx context . Context , hash [ ] byte ) ( * coretypes . ResultBlock , error ) {
func ( _m * Client ) BlockByHash ( ctx context . Context , hash bytes . HexBytes ) ( * coretypes . ResultBlock , error ) {
ret := _m . Called ( ctx , hash )
ret := _m . Called ( ctx , hash )
var r0 * coretypes . ResultBlock
var r0 * coretypes . ResultBlock
if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , [ ] byte ) * coretypes . ResultBlock ) ; ok {
if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , bytes . HexBytes ) * coretypes . ResultBlock ) ; ok {
r0 = rf ( ctx , hash )
r0 = rf ( ctx , hash )
} else {
} else {
if ret . Get ( 0 ) != nil {
if ret . Get ( 0 ) != nil {
@ -128,7 +128,7 @@ func (_m *Client) BlockByHash(ctx context.Context, hash []byte) (*coretypes.Resu
}
}
var r1 error
var r1 error
if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , [ ] byte ) error ) ; ok {
if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , bytes . HexBytes ) error ) ; ok {
r1 = rf ( ctx , hash )
r1 = rf ( ctx , hash )
} else {
} else {
r1 = ret . Error ( 1 )
r1 = ret . Error ( 1 )
@ -706,11 +706,11 @@ func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string
}
}
// Tx provides a mock function with given fields: ctx, hash, prove
// Tx provides a mock function with given fields: ctx, hash, prove
func ( _m * Client ) Tx ( ctx context . Context , hash [ ] byte , prove bool ) ( * coretypes . ResultTx , error ) {
func ( _m * Client ) Tx ( ctx context . Context , hash bytes . HexBytes , prove bool ) ( * coretypes . ResultTx , error ) {
ret := _m . Called ( ctx , hash , prove )
ret := _m . Called ( ctx , hash , prove )
var r0 * coretypes . ResultTx
var r0 * coretypes . ResultTx
if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , [ ] byte , bool ) * coretypes . ResultTx ) ; ok {
if rf , ok := ret . Get ( 0 ) . ( func ( context . Context , bytes . HexBytes , bool ) * coretypes . ResultTx ) ; ok {
r0 = rf ( ctx , hash , prove )
r0 = rf ( ctx , hash , prove )
} else {
} else {
if ret . Get ( 0 ) != nil {
if ret . Get ( 0 ) != nil {
@ -719,7 +719,7 @@ func (_m *Client) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.R
}
}
var r1 error
var r1 error
if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , [ ] byte , bool ) error ) ; ok {
if rf , ok := ret . Get ( 1 ) . ( func ( context . Context , bytes . HexBytes , bool ) error ) ; ok {
r1 = rf ( ctx , hash , prove )
r1 = rf ( ctx , hash , prove )
} else {
} else {
r1 = ret . Error ( 1 )
r1 = ret . Error ( 1 )