Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Blob serialization v 5 + reorganizations #67

Merged
merged 37 commits into from
May 20, 2018

Conversation

jamesray1
Copy link
Member

@jamesray1 jamesray1 commented May 14, 2018

Implements https://ethresear.ch/t/blob-serialisation/1705.

Uses structs for a chunk and a blob, which contain a data and indicator fields for chunks; and just one data field for blobs (for a blob of arbitrary size). Defines functions for instantiation and conversions between blobs, chunks, bytes. Has unit tests. Add constants instead of using literals.

TODO: serialization for when blobs are larger than a collation. Not a high priority for now. #68. This PR contains pseudocde for that. Update: serialization in #73 for blobs into new collations is added.

TODO: may need to rewrite this to not have a skip_evm flag as per https://ethresear.ch/t/blob-serialisation/1705/15.

Reorganizations

@jamesray1 jamesray1 changed the title Blob serialization v 5 Blob serialization v 5 + reorganization May 14, 2018
@jamesray1 jamesray1 changed the title Blob serialization v 5 + reorganization Blob serialization v 5 + reorganizations May 14, 2018
@jamesray1 jamesray1 added this to In progress in Phase 1 May 14, 2018
@jamesray1 jamesray1 added the A0: please review Pull request needs code review. label May 14, 2018
ltfschoen and others added 2 commits May 16, 2018 02:44
…r debugging

The following commands all pass when run with the changes:

cargo make test-node;
cargo run -- --collation mode -b;
cargo make all-with-collation;
cargo make test-all
 feat: Added Collation flag to CLI that activates example collation for debugging
@jamesray1 jamesray1 mentioned this pull request May 16, 2018
@jamesray1 jamesray1 merged commit 89754b4 into Drops-of-Diamond:develop May 20, 2018
Phase 1 automation moved this from In progress to Done May 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0: please review Pull request needs code review.
Projects
Phase 1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants