Skip to content

Comments

params: double FullImmutabilityThreshold for BEP-520 & BEP-524#3044

Merged
buddh0 merged 2 commits intobnb-chain:developfrom
buddh0:change_default_value_FullImmutabilityThreshold
Apr 23, 2025
Merged

params: double FullImmutabilityThreshold for BEP-520 & BEP-524#3044
buddh0 merged 2 commits intobnb-chain:developfrom
buddh0:change_default_value_FullImmutabilityThreshold

Conversation

@buddh0
Copy link
Contributor

@buddh0 buddh0 commented Apr 23, 2025

Description

params: double FullImmutabilityThreshold for BEP-520 & BEP-524

Rationale

FullImmutabilityThreshold is now applied to block freezing, block pruning, and state history.

When the block interval is reduced, the default value of FullImmutabilityThreshold is increased accordingly to ensure consistent behavior.

this PR will solve issue #3042

Note:
The TransactionHistory threshold remains unchanged. Its original default value is 2,350,000, which is sufficiently large even with a shorter block interval.
If a node requires transaction indexing over a larger number of blocks, please use the history.transactions flag to configure it explicitly.

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@buddh0 buddh0 changed the base branch from master to develop April 23, 2025 02:57
@buddh0
Copy link
Contributor Author

buddh0 commented Apr 23, 2025

please not squash, just keep two commits, for easier to pick

@buddh0 buddh0 marked this pull request as ready for review April 23, 2025 03:02
@NathanBSC NathanBSC mentioned this pull request Apr 23, 2025
@buddh0 buddh0 merged commit 1432933 into bnb-chain:develop Apr 23, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants