Skip to content

Bring rBPF source files to the monorepo#1850

Closed
LucasSte wants to merge 8 commits intoanza-xyz:masterfrom
LucasSte:rbpf-part1
Closed

Bring rBPF source files to the monorepo#1850
LucasSte wants to merge 8 commits intoanza-xyz:masterfrom
LucasSte:rbpf-part1

Conversation

@LucasSte
Copy link
Copy Markdown

@LucasSte LucasSte commented Jun 24, 2024

Problem

The rBPF create is an integral part of the validator, however it sits outside of the monorepo, hindering updates, security responses and bug fixes.

Summary of Changes

I brought the crate to the monorepo, and configured the CI (clippy, tests and fmt). The complete work is in #1842, but it touches on more than 20k lines, so the CI can't run. I'm splitting it in smaller changes. The test and bench files will come in another PR.

I yanked the test-utils creates and created the necessary functions in src/utils.rs, because it contained a cyclic dependency.

@LucasSte LucasSte force-pushed the rbpf-part1 branch 6 times, most recently from 289d5c0 to eea1a30 Compare June 25, 2024 18:58
@LucasSte
Copy link
Copy Markdown
Author

LucasSte commented Jun 25, 2024

The CI is failing because we need to transfer the crate's ownership to anza-team. There is also an unrelated failure.

@LucasSte LucasSte changed the title [DRAFT] Bring rBPF source files and test-utils to the monorepo Bring rBPF source files to the monorepo Jun 25, 2024
@LucasSte LucasSte requested review from Lichtso and alessandrod June 25, 2024 20:31
@LucasSte LucasSte marked this pull request as ready for review June 25, 2024 20:31
@LucasSte
Copy link
Copy Markdown
Author

Closing this PR in favor of #1842 .

@LucasSte LucasSte closed this Jun 27, 2024
@LucasSte LucasSte deleted the rbpf-part1 branch July 2, 2024 21:00
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