-
Notifications
You must be signed in to change notification settings - Fork 144
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
Refactor blockstore and Cid for usage #230
Conversation
blockchain/sync_manager/Cargo.toml
Outdated
@@ -10,16 +10,17 @@ amt = { package = "ipld_amt", path = "../../ipld/amt" } | |||
blocks = { package = "forest_blocks", path = "../blocks" } | |||
db = { path = "../../node/db" } | |||
encoding = { package = "forest_encoding", path = "../../encoding" } | |||
libp2p = { git = "https://github.com/SigP/rust-libp2p", rev = "776d13ef046358964c7d64cda3295a3a3cb24743" } | |||
libp2p = { git = "https://github.com/SigP/rust-libp2p", rev = "776d13ef046358964c7d64cda3295a3a3cb24743" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be libp2p = "0.15.0"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I didn't notice, this was auto formatted. Will swap. This must have come in after the swap to libp2p base
Re-requested review since I also removed raw-block crate by updating the Cbor trait we use in encoding. Also removed dependency of Cid crate on our local encoding utility and seperated the serde stuff into a feature so now the Cid crate can very easily be upstreamed as is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much cleaner
Summary of changes
Changes introduced in this pull request:
This shouldn't cause any actual conflicts, maybe only minor if you were referencing blockstore in AMT crate or generating a cid from bytes default (I don't think that's the case for any of you guys rn)
Reference issue to close (if applicable)
Other information and links