question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create the new Collation RLP object

See original GitHub issue

What is wrong?

(Updated the issue, separated this ticket from VMC contract)

CollationHeader

2018-04-14 updated:

shard_id           uint256 // pointer to shard
chunks_root        bytes32 // pointer to collation body
period             uint256 // timestamp
proposer_address   address

Collation

header    CollationHeader
body      CollationBody

How can it be fixed

Since there are two other issues are related to VMC, it might be better to create a new Collation class to avoiding influencing VMC.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
hwwhwwcommented, Mar 3, 2018

@mhchia

  1. Some fields renamings are still in discussion.
  2. Removing state_root from Collation may make some tests fail due to this line: https://github.com/ethereum/py-evm/blob/3784a87d0850c92d5865d97ce4bb6f5075d47896/evm/vm/forks/sharding/vm_state.py#L45 Which means we may have to make another temporary NewCollation class or decouple state execution.

I suggest something you can do before this issue:

  1. Move VMC out of evm/vm because (1) it’s not part of VM and (2) it helps for decoupling state execution and other processes.
  2. Ping @pipermerriam , what do you think of that we move VMC contract to ethereum/sharding repository and we make sharding repository to be a submodule of py-evm? If it’s okay, @mhchia would you help to move?
  3. Write down basic VMC API doc. (don’t need to be perfect)
0reactions
hwwhwwcommented, Apr 14, 2018

closed via #462

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ethereum Under The Hood Part 3 (RLP Decoding) - Medium
In this section, we address decoding Ethereum data using the RLP decoding ... State is a collection blocks, blocks contains a set of...
Read more >
Record Level Protection (RLP) - TechDocs - Broadcom
RLP gives you detailed control over which users have access to what data by defining the records to protect the SDT reserved ACID...
Read more >
Create Raw Transaction - Ethereum Development with Go
RLP is a special encoding method Ethereum uses for serializing objects. The result of this is raw bytes. rawTxBytes := ts.GetRlp(0).
Read more >
RLPList (headlong 1.2.0 API) - Javadoc Extreme
Object. com.esaulpaugh.headlong.rlp.RLPItem. com.esaulpaugh.headlong.rlp.RLPList ... Created by Evo on 1/19/2017. ... Collection<RLPItem> collection).
Read more >
Collection | ProCAKE Wiki
There are two available class types for defining collection objects: ... To create a collection class in the model.xml file, a new subclass...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found