status-im / nimbus-eth1

Nimbus: an Ethereum Execution Client for Resource-Restricted Devices
https://status-im.github.io/nimbus-eth1/
Apache License 2.0
569 stars 115 forks source link

Portal state network task-list #1923

Open kdeme opened 10 months ago

kdeme commented 10 months ago

Attempt to task-list for the development of the state network. This list is going to be incomplete so feel free to add/suggest items. Perhaps some tasks don't really make sense even depending on the path taken.

One important and still open question regarding the state network is whether to provide leaves only or also intermediate nodes of the tries.

The latest update to the specifications indicate only the leaves, but I don't think this should be seen as a chosen direction.

Now, we could start with providing the leaves, and as R&D goes on it should always be considered what benefit adding the intermediate nodes gives us for each problem tackled.

edit: Trie node storage is now being called Model A and flat storage of leaf data is Model B, see below. It has been suggested that the development of Portal state network should first focus on Modal A, hence we will have to adjust the task list a bit accordingly.

See message from Piper: https://discord.com/channels/890617081744220180/1089234065816821860/1187092509327884410

Task-list

Model A and Model B

Model A

Model B

Neither model.

kdeme commented 10 months ago

Added a task for witness / statelessness but perhaps that deserves its own task list considering it is not really something in Portal.

We also already have an issue for this, but specifically for the verkle version: https://github.com/status-im/nimbus-eth1/issues/1451

And here is the old spec on witness: https://github.com/ethereum/portal-network-specs/blob/01a49a8c9bf08121ecde1b9270a6f2f679cb2568/witness.md. This has since then been removed from the repo.

bhartnett commented 9 months ago

I've created a new issue for the proof generation and verification task here: https://github.com/status-im/nimbus-eth1/issues/1934