chore: migrate to libp2p_mix package#3842
Open
chaitanyaprem wants to merge 1 commit into
Open
Conversation
Mix has been extracted from nim-libp2p into its own package at logos-co/nim-libp2p-mix. Update all imports of libp2p/protocols/mix* to use libp2p_mix*, add the new package as a vendored submodule and nimble dep, and bump the mix-rln-spam-protection-plugin submodule to its corresponding migration branch. Verified end-to-end with simulations/mixnet (5-node mixnet + chat2mix): - All 5 wakunode2 instances mount /mix/1.0.0 successfully - RLN spam-protection loads and registers - chat2mix publishes via lightpush with mixify=true - Cover traffic runs at the configured 20s interval
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Mix has been extracted from
nim-libp2pinto its own package atlogos-co/nim-libp2p-mix.Update all imports, add the new package as a vendored submodule + nimble
dep, and bump the
mix-rln-spam-protection-pluginsubmodule to itsmatching migration branch.
Changes
libp2p/protocols/mix*→libp2p_mix*import path updateswaku.nimble: add"libp2p_mix"torequiresvendor/nim-libp2p-mixtrackingmastervendor/mix-rln-spam-protection-pluginsubmodule bumped tomigrate-to-libp2p_mixbranch12 files, +24 / −18, plus the new submodule.
Test plan
make wakunode2builds cleanlymake chat2mixbuilds cleanlysimulations/mixnet/run_mix_node{,1..4}.sh) — all instances mount/mix/1.0.0successfullychat2mixconnects to bootstrap mix node, publishes via lightpush withmixify=trueCompanion PR
logos-co/mix-rln-spam-protection-plugin#migrate-to-libp2p_mix— referenced by the submodule bump in this PR