Skip to content

Commit

Permalink
fix: eth_pendingTransactions
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeNinjaX committed Aug 19, 2024
1 parent 88da529 commit f9b3331
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/tendermint.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ type TendermintRPC interface {

Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error)
Status(context.Context) (*coretypes.ResultStatus, error)
ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)

Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)
BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)

Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)

Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)
TxSearch(
ctx context.Context,
Expand All @@ -27,6 +31,5 @@ type TendermintRPC interface {
page, perPage *int,
orderBy string,
) (*coretypes.ResultTxSearch, error)

ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)
}
6 changes: 6 additions & 0 deletions store/pruning/mock/db_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions testutil/mock/tendermint_tm_db_DB.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9b3331

Please sign in to comment.