Skip to content

eth_getBlockByNumber is slow for epoch 0 #7291

Description

@hanabi1224

Describe the bug

Forest is very slow in responding the below payloads

{
	"method": "eth_getBlockByNumber",
	"params": [
		"0x00", false
	],
	"id": 328,
	"jsonrpc": "2.0"
}
{
	"method": "eth_getBlockTransactionCountByNumber",
	"params": [
		"0x00"
	],
	"id": 328,
	"jsonrpc": "2.0"
}
{
	"method": "Filecoin.ChainGetTipSetByHeight",
	"params": [
		0, null
	],
	"id": 328,
	"jsonrpc": "2.0"
}

To reproduce

  1. Go to '...'
  2. Run '....'
  3. See error

Log output

Log Output
paste log output...

Expected behaviour

Screenshots

Environment (please complete the following information):

  • OS:
  • Branch/commit
  • Hardware

Other information and links

Metadata

Metadata

Assignees

Labels

Type: BugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions