Skip to content

starknet_getBlockWithTxHashes and starknet_getBlockWithTxs don't need to load receipts #3261

@infrmtcs

Description

@infrmtcs

Both are using blockByID which loads all receipts while these endpoints don't need anything from the receipts.

https://github.com/NethermindEth/juno/blob/v0.15.10/rpc/v9/block.go#L244
https://github.com/NethermindEth/juno/blob/v0.15.10/rpc/v9/block.go#L322

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