Skip to content

This repository hosts all the research on DAS for the collaboration between Codex and the EF.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHEv2
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

codex-storage/das-research

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAS Research

This repository hosts research on DAS for the collaboration between Codex and the EF.

The goal of the DAS Simulator is to study the problem of Data Availability Sampling, both as it is currently proposed and with possible modifications, from the networking perspective. The simulator is written in Python3 for accessibility, but we can imagine rewriting it at one point for scalability and efficiency.

Currently we simulate the first part of the process which is to get segments of the 2D Reed Solomon erasure coded block from the block builder to validators. The simulator tracks diffusion in the network and validation progress. It is highly configurable, and it allows to explore the parameter space in one run, generating also summary figures.

Talks

Results from the simulator were featured in the following talks:

  • EthereumZuri.ch 2023 - Csaba Kiraly - Data Availability Sampling from the Networking Perspective, see on YouTube
  • EDCON 2023 - Leonardo Bautista-Gomez - Understanding Design Choices in Data Availability Sampling see on YouTube
  • EthPrague 2023 - Leonardo Bautista-Gomez - Understanding Design Choices in Data Availability Sampling see on YouTube
  • EthCC 2023 - Csaba Kiraly - Understanding Design Choices in Data Availability Sampling see on YouTube

Versions

For recent improvements, see the develop branch

Usage

Prepare the environment

  • Clone the DAS repository (if not done yet) and go into the das-research directory
git clone https://github.com/status-im/das-research.git
cd das-research
  • Create a virtual environment and install the requirements
python3 -m venv myenv
source myenv/bin/activate
pip3 install -r DAS/requirements.txt

Run the simulator

The simulation requires a configuration written in Python. To run a small example, use the smallConf.py configuration file:

python3 study.py smallConf.py

Results with plots will be saved in the results folder.

See the same example smallConf.py file for the description of configuration options. To derive your own simulations, copy the file, customize, and run.

License

Licensed and distributed under either of

or

at your option. Files in this repository may not be copied, modified, or distributed except according to those terms.

About

This repository hosts all the research on DAS for the collaboration between Codex and the EF.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHEv2
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages