-
Notifications
You must be signed in to change notification settings - Fork 18
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
Blob #43
Conversation
@lovesh I don't understand why the |
Couple naming related changes from the spec.
|
I had started building off an older commit. Will fix this. UPDATE: Have rebased master |
8e8ff20
to
fb09b4c
Compare
runtime/src/blob.rs
Outdated
|
||
#[test] | ||
fn add_blob() { | ||
if !in_ext() { |
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.
Same comment on the extra call to the test function as one of the earlier PRs. Let's address this with one of the approaches discussed there.
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.
runtime/src/blob.rs
Outdated
use super::*; | ||
use crate::test_common::*; | ||
|
||
fn rando_bytes(len: usize) -> Vec<u8> { |
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.
Is there a typo in rando_bytes
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.
Changed in 99a5659.
rando_bytes -> random_bytes
runtime/src/test_common.rs
Outdated
pub use std::iter::once; | ||
|
||
pub type RevoMod = crate::revoke::Module<Test>; | ||
pub type BlobMod = crate::blob::Module<Test>; |
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.
BlobMod
is not used anywhere else so it should not be added here.
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.
Addressed in 99a5659.
Moved BlobMod
declaration into blob test module.
@bddap Minor suggestions, otherwise LGTM. |
Can you update the spec as well? |
|
Implements the node side of https://github.com/docknetwork/planning/blob/master/spec/0003-schema.md