Skip to content

Allow compilation without LevelDB #6964

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

Closed

Conversation

michaelsproul
Copy link
Member

Proposed Changes

To enable pure Rust builds of Lighthouse without LevelDB/LMDB/MDBX, this PR turns off LevelDB as a default feature at the store dependency level.

Without this change, the --no-default-features flag is not sufficient to compile Lighthouse without LevelDB, because it only disables the default features of the top-level crate (./lighthouse/). With this change, you can pass --no-default-features and get a binary that only has Redb available as an argument to --beacon-node-backend.

@michaelsproul michaelsproul added enhancement New feature or request ready-for-review The code is ready for review database waiting-on-author The reviewer has suggested changes and awaits thier implementation. and removed ready-for-review The code is ready for review labels Feb 10, 2025
@michaelsproul
Copy link
Member Author

I need to re-enable at least one DB backend for the tests

Copy link

mergify bot commented May 19, 2025

Some required checks have failed. Could you please take a look @michaelsproul? 🙏

Copy link

mergify bot commented May 19, 2025

Hi @michaelsproul, this pull request has been closed automatically due to 30 days of inactivity. If you’d like to continue working on it, feel free to reopen at any time.

@mergify mergify bot closed this May 19, 2025
@mergify mergify bot added the stale Stale PRs that have been inactive and is now outdated label May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database enhancement New feature or request stale Stale PRs that have been inactive and is now outdated waiting-on-author The reviewer has suggested changes and awaits thier implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant