iotaledger / iota

Apache License 2.0
19 stars 10 forks source link

[Task (VM-Language)]: Experiment 1: Build a genesis blob with only the objects needed for staking #2735

Closed miker83z closed 2 months ago

miker83z commented 2 months ago

The genesis.blob contains a set of objects that are generated through the genesis::create function in the iota_genesis_builder.

We currently pass to the PTB implementing the call to this function all the migrated objects as input. However, that function only uses a TokenDistributionSchedule including information about iota coins or timelocks to stake to validators. It means that we could avoid passing all the migrated objects to the PTB and create a genesis without these objects, but just with a TokenDistributionSchedule. After the PTB execution we need to take care of the objects used to "build" the TokenDistributionSchedule though (i.e., remove them from the migrated objects).

miker83z commented 2 months ago

This experiment is succesfully closed by #2750.