mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 18:47:56 +00:00
default_genesis_config.json file has been generated by the following code:
use crate::genesismap::GenesisStorageBuilder;
#[test]
fn write_default_config_to_tmp_file() {
let j = json::to_string(&GenesisStorageBuilder::default().genesis_config()).unwrap().into_bytes();
let mut file = fs::OpenOptions::new()
.create(true)
.write(true)
.open("/tmp/default_genesis_config.json").unwrap();
file.write_all(&j);
}
:code field has been manually truncated to reduce file size. Test is only
comparing keys, not the values.
default_genesis_config_invalid.json is just a broken copy of
default_genesis_config.json with authorities field renamed to
renamed_authorities.
default_genesis_config_invalid.json is just an incomplete copy of
default_genesis_config.json with babe::authorities field removed.