fix(api): StateSearchMsg should respect lookbackLimit#13562
Merged
rvagg merged 4 commits intofilecoin-project:masterfrom Mar 30, 2026
Merged
Conversation
adb9943 to
13a441b
Compare
13a441b to
adf8d22
Compare
There was a problem hiding this comment.
Please update the PR title to match https://github.com/filecoin-project/lotus/blob/master/CONTRIBUTING.md#pr-title-conventions
There was a problem hiding this comment.
Please update the PR title to match https://github.com/filecoin-project/lotus/blob/master/CONTRIBUTING.md#pr-title-conventions
StateSearchMsg should respect lookbackLimit
PR title now matches the required format.
rvagg
reviewed
Mar 30, 2026
Co-authored-by: Rod Vagg <rod@vagg.org>
Dismissed since title has been fixed
rvagg
approved these changes
Mar 30, 2026
Member
|
nice find |
rjan90
pushed a commit
that referenced
this pull request
Mar 30, 2026
8 tasks
rjan90
added a commit
that referenced
this pull request
Mar 30, 2026
* fix(rlp): modernisation, hardening, and perforance improvements (#13555) * chore: bump go-paramfetch to latest version (#13559) chore: bump go-paramfetch to latest version * fix(api): `StateSearchMsg` should respect `lookbackLimit` when using index (#13562) --------- Co-authored-by: Rod Vagg <rod@vagg.org> Co-authored-by: hanabi1224 <harlowmoo@gmail.com>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Sending the below payload to Lotus RPC v1 should result in
message not founderror. However, Lotus@v1.35.1-rc1 responds successfully.Message
bafy2bzacebeauanjqdy3yxrsvci7zmyqdh2wygsrlyvf6w5bsw6agiknbvvwybelongs to epoch3580905which should exceed lookbackLimit(800) for the head@3583194 as of writing{ "jsonrpc": "2.0", "method": "Filecoin.StateSearchMsg", "params": [ null, { "/": "bafy2bzacebeauanjqdy3yxrsvci7zmyqdh2wygsrlyvf6w5bsw6agiknbvvwy" }, 800, false ], "id": 123 }Proposed Changes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that: