Skip to content

CometBlockResultByNumber returns an error when height=0 #488

@Pitasi

Description

@Pitasi

At the moment, when calling CometBlockResultByNumber with height=0, an error is returned:

failed to fetch block result from Tendermint: failed to fetch block result from Tendermint 0: height must be greater than 0, but got 0

This issue happens when trying to filter logs using Ethereum RPC. The correct behaviour would be to use the latest available block.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions