Skip to content

EthGetBlockReceiptsLimited does not use limit #12838

@elmattic

Description

@elmattic

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus fvm/fevm - Lotus FVM and FEVM interactions
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt/WinningPoSt)
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

./lotus version
Daemon:  1.31.0-rc1+calibnet+git.6cd798259.dirty+api1.5.0
Local: lotus version 1.31.0-rc1+calibnet+git.6cd798259.dirty

Repro Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...

Describe the Bug

https://github.com/filecoin-project/lotus/blob/master/node/impl/eth/transaction.go#L448

Upon reviewing this function's implementation, I noticed that the limit parameter is not being used anywhere.

This is not necessarily a problem, but rather a potential question about what the specification should be.

Logging Information

n/a

Metadata

Metadata

Type

No type

Projects

Status

🐱 Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions