-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EthGetBlockReceiptsLimited
does not use limit
#12838
Comments
Whoops! Thanks for picking this up @elmattic; we'll get this done. |
Agreed this should get fixed. We expect to get this in 2025Q1, but aren't prioritizing it yet until lad things for nv25. We assume that if any RPC operator was impacted by this they could block the calling client or disable the API if necessary while we work on a fix. (Certainly if this becomes a fire for a team, we'll prioritize getting it done quicker.) |
I'm going to mark this as if limit > api.LookbackNoLimit && ts.Height() < e.chainStore.GetHeaviestTipSet().Height()-abi.ChainEpoch(limit) {
return nil, xerrors.Errorf("tipset %s is too old to fetch receipts for", ts.Key())
} along with at least one test. |
(unassigning myself to leave the door open but in reality I'll probably end up doing it) |
would like to take this up @rvagg |
Go for it @ameeetgaikwad. Assigned! |
@ameeetgaikwad : just checking in on how this is going. |
@BigLep yes! Pushing my EOD |
Checklist
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.Lotus component
Lotus Version
Repro Steps
...
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
The text was updated successfully, but these errors were encountered: