Skip to content

chore: backport #13535 and #13565 to the release/v1.35.1 branch#13566

Merged
rjan90 merged 2 commits intorelease/v1.35.1from
phi/cherry-pick-13561
Mar 31, 2026
Merged

chore: backport #13535 and #13565 to the release/v1.35.1 branch#13566
rjan90 merged 2 commits intorelease/v1.35.1from
phi/cherry-pick-13561

Conversation

@rjan90
Copy link
Copy Markdown
Contributor

@rjan90 rjan90 commented Mar 31, 2026

Related Issues

#13535

Proposed Changes

Cherry-pick #13561 and #13565 to the v1.35.1 release branch

Checklist

Before you mark the PR ready for review, please make sure that:

- Adds ErrBlockRangeExceeded with -32005 "limit exceeded" error code matching
  standard Ethereum JSON-RPC error code and message
- Enforces MaxFilterHeightRange on EthTraceFilter (node-level)
- Adds configurable EthTraceFilterMaxBlockRange (default 100) to the
  gateway, enforced via checkEthTraceFilterBlockRange
- Converts EthGetLogs parseBlockRange errors to ErrBlockRangeExceeded
  for consistency with Ethereum ecosystem error conventions
- Adds --eth-trace-filter-max-block-range CLI flag to lotus-gateway
- Integration tests covering node and gateway limits for both v1 and v2
@rjan90 rjan90 requested a review from rvagg March 31, 2026 05:41
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Mar 31, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-project-automation github-project-automation Bot moved this from 📌 Triage to ⌨️ In Progress in FilOz Mar 31, 2026
Include null round epochs as 0-block entries in the chain data fed to
the FRC-0089 calculator, rather than silently skipping them. This
aligns the implementation with the theoretical model where null rounds
are epochs where the adversary gains ground while the honest chain
doesn't grow. Also fixes a depth-to-height conversion problem which
previously could return a shallower tipset than intended when null
rounds were present between head and the finalized epoch.

Increase BisectHigh from 200 to 450 to accommodate degraded chains
where null round inclusion pushes the threshold deeper (notably current
calibnet which is near 200).
@rjan90 rjan90 changed the title Backport #13535 to the release/v1.35.1 branch Backport #13535 and #13565 to the release/v1.35.1 branch Mar 31, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rjan90 rjan90 changed the title Backport #13535 and #13565 to the release/v1.35.1 branch chore: backport #13535 and #13565 to the release/v1.35.1 branch Mar 31, 2026
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions github-actions Bot dismissed their stale review March 31, 2026 05:47

PR title now matches the required format.

@rjan90 rjan90 dismissed github-actions[bot]’s stale review March 31, 2026 05:47

Title has been updated

@rjan90 rjan90 enabled auto-merge (rebase) March 31, 2026 05:48
@rjan90 rjan90 merged commit 40b43c7 into release/v1.35.1 Mar 31, 2026
102 of 104 checks passed
@rjan90 rjan90 deleted the phi/cherry-pick-13561 branch March 31, 2026 05:52
@github-project-automation github-project-automation Bot moved this from ⌨️ In Progress to 🎉 Done in FilOz Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants