This repository hosts all the research on DAS for the collaboration between Codex and the EF.
Go to file
Arunima Chaudhuri 1935fafe19 Fixed simulation completion check
Signed-off-by: Arunima Chaudhuri <arunimachaudhuri2020@gmail.com>
2024-05-14 06:45:54 +00:00
DAS make the changes on study level 2024-03-29 21:49:57 +00:00
doc Starting code documentation 2023-02-08 22:45:01 +01:00
.gitignore Independent dimensions 2024-02-15 23:48:30 +05:30
LICENSE-APACHEv2 clarify license 2023-05-24 11:30:43 +02:00
LICENSE-MIT clarify license 2023-05-24 11:30:43 +02:00
README.md README.md Fix 2024-02-18 16:31:10 +01:00
smallConf.py rename forwardOnRepair to forwardWhenLineReceived 2024-03-12 23:16:52 +01:00
study.py Fixed simulation completion check 2024-05-14 06:45:54 +00:00

README.md

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.

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

python3 study.py smallConf.py

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.