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

fix: config validation #405

Merged
merged 2 commits into from
Aug 20, 2019
Merged

fix: config validation #405

merged 2 commits into from
Aug 20, 2019

Conversation

jacobheun
Copy link
Contributor

@jacobheun jacobheun commented Aug 20, 2019

This applies to the 0.25.x line. I will also create a PR to apply this to the 0.26 line

  • Avoids using the superstruct interface method, as their recent release of 0.6.2 breaks how we're doing validation. The config is now a bit looser with how it's checking things now. We will migrate away from superstruct in a future PR, Update configuration validation (remove superstruct) #406.
  • Test updates for content routing were back ported from 0.26 as tests break in 0.25 with their latest releases.

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jacobheun jacobheun marked this pull request as ready for review August 20, 2019 13:52
@jacobheun jacobheun merged commit 2f6fea9 into 0.25.x Aug 20, 2019
@jacobheun jacobheun deleted the fix/config branch August 20, 2019 13:53
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
This fixes a bug where `ADD_PROVIDER` message keys were CID bytes instead of multihash bytes, and changes the CIDs generated in tests to be V1s with `raw` codec instead of V0s so that the difference is actually tested.

Fixes libp2p#381
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
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.

2 participants