Drops-of-Diamond / diamond_drops

WIP on sharding and Ethereum 2.0 with enshrined-in-consensus data availability and Rust: a fast, safe, concurrent and practical programming language
The Unlicense
57 stars 14 forks source link

Blob serialization 6 #73

Closed jamesray1 closed 6 years ago

jamesray1 commented 6 years ago

Add serialization for blobs into collation bodies, with 2 new tests, and all tests passing. Plus minor changes e.g. to build.rs (refactoring all of main() to make_uml_diagram(), and adding crate-wide allow guards to minimize lots of warnings (allow I have been handling some, and more could be). Plus has changes from #67. We can merge #67 first, then this after rebasing on top of the new develop branch (after merging #67) (which will then be easier to review).

The UML diagram generated from cargo make uml-default-recommended via the terminal doesn't show a Body struct box with a chunks field. The diagram also doesn't display in the browser when generated from cargo make docs.

jamesray1 commented 6 years ago

Closing this because it should be better to review this as a PR to blob-serialization-v-5.

jamesray1 commented 6 years ago

Reopening because this branch is behind blob-serialization-v-5, so we can merge #67 first, then this after rebasing on top of the new develop branch (after merging #67).

ltfschoen commented 6 years ago
jamesray1 commented 6 years ago

I did request a review for #67 and #73, https://gitter.im/Drops-of-Diamond/Development?at=5affd1dad245fe2eb7c1b6c8. Although those changes were introduced today while I was fixing up #73. Given the lack of a response I thought nobody was interested; perhaps I should've given more time.

you didn't remove the log files that you generated in the root directory

My mistake, fixed that with #77.

Merged #76.