Skip to content

remove acurator whitelist#6669

Closed
317787106 wants to merge 4 commits intotronprotocol:developfrom
317787106:feature/remove_acurator_whitelist
Closed

remove acurator whitelist#6669
317787106 wants to merge 4 commits intotronprotocol:developfrom
317787106:feature/remove_acurator_whitelist

Conversation

@317787106
Copy link
Copy Markdown
Collaborator

What does this PR do?

Removes the actuator.whitelist configuration and all related code. All actuator types are now unconditionally registered and executed on every node. Nodes with the old config key in config.conf are unaffected — it is silently ignored after upgrade.

Why are these changes required?

actuator.whitelist was designed for private-chain scenarios and is fundamentally incompatible with public-chain consensus. A node configured with a non-empty whitelist skips registering excluded actuator types at startup. When the network produces a block containing those transaction types, the configured node fails to execute them, its world state diverges from the network, and it forms a private fork. Removing this configuration eliminates the risk of consensus breakage caused by misconfiguration.

This PR has been tested by:

  • Unit Tests: TransactionRegisterTest, ParameterTest — all pass
  • Checkstyle: checkstyleMain, checkstyleTest — no violations

Follow up

None.

Extra details

TransactionRegister.registerActuator() was already updated in a prior PR to register all actuators unconditionally. This PR completes that cleanup by removing the whitelist enforcement that remained in the execution path (TransactionFactory, RuntimeImpl) and the associated config infrastructure (CommonParameter, Args, ConfigKey).

@github-actions github-actions bot requested a review from halibobo1205 April 9, 2026 10:36
@317787106 317787106 closed this Apr 9, 2026
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.

1 participant