[genesis] Missing migration.blob for iota genesis ...
command
#4896
Labels
sc-platform
Issues related to the Smart Contract Platform group.
vm-language
Issues related to the VM & Language Team
Bug description
Generating a genesis with local migration sources produces a wrong starting state without migration data/transactions/objects.
Steps To reproduce the bug
where:
swap-split.csv
is:swap.csv
ismkdir test_split_config
test_split_config
directory doesn't have amigration.blob
.Expected behaviour
migration.blob
is created and a local network with the migrated state can be started../target/release/iota start --network.config test_split_config
Actual behaviour
Missing
migration.blob
causes the local network to start without migration data.Solution hint
The following function doesn't check for the emptiness of
timelocks_to_split
field. Should one add it,migration.blob
is created:iota/crates/iota-genesis-builder/src/stake.rs
Line 47 in cdc9a4c
The text was updated successfully, but these errors were encountered: