Skip to content

problem: inconsistent block hash in json-rpc response #726

@yihuang

Description

@yihuang

Regression from #599

it could return block hash that's calculated from cometbft block header, or emulated eth block header, which is inconsistent.

Solution

Always use the block hash from ResultBlock.BlockID.Hash, don't need to calculate it at all.

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