Skip to content
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

Feature - Flexible Plugin Registration #6714

Closed
Gabriel-Trintinalia opened this issue Mar 12, 2024 · 0 comments · Fixed by #6700
Closed

Feature - Flexible Plugin Registration #6714

Gabriel-Trintinalia opened this issue Mar 12, 2024 · 0 comments · Fixed by #6700
Assignees
Labels
enhancement New feature or request plugins ux

Comments

@Gabriel-Trintinalia
Copy link
Contributor

Description

As a Besu node operator, I want the ability to have granular control over plugin registration so that I can ensure only the necessary and explicitly specified plugins are activated, enhancing the security and operational efficiency of my node.

Acceptance Criteria

  • The system should allow specifying a list of plugins to be registered via CLI options or TOML configuration.
  • The system should perform validation against the specified list of plugins, halting the startup process if any required plugin is missing.
  • Any plugin found in the plugins directory but not explicitly required for registration should be ignored.
  • If the option is unset, the default behavior registers all plugins in the directory.

Steps to Reproduce

  1. use the --plugins option followed by a comma-separated list of plugin names that should be registered.
  2. Run the Besu node with the updated CLI command or configuration file.

Example CLI command: besu --plugins=pluginA,pluginB

Expected behavior: When starting a Besu node with the new granular control feature enabled and a list of required plugins specified, the node should only attempt to register those plugins. If a specified plugin is missing, the node should halt the startup process, and an informative error message should be displayed.

Actual behavior: Currently, Besu attempts to register all plugins found in the specified plugins directory, without the ability to specify which plugins should be registered or to halt the startup process if a critical plugin is missing.

@Gabriel-Trintinalia Gabriel-Trintinalia self-assigned this Mar 12, 2024
@Gabriel-Trintinalia Gabriel-Trintinalia changed the title Flexible Plugin Registration Feature - Flexible Plugin Registration Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugins ux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant