From e71f52c56cbe3d3b482c4c6418ff6f1aa6cf2dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Wed, 23 Oct 2024 11:53:56 -0500 Subject: [PATCH] change: address suggestion from @seadanda --- .../chains/parachains/assets/asset-hub-kusama/src/genesis.rs | 3 +-- .../chains/parachains/assets/asset-hub-polkadot/src/genesis.rs | 3 +-- .../chains/parachains/bridges/bridge-hub-kusama/src/genesis.rs | 3 +-- .../parachains/bridges/bridge-hub-polkadot/src/genesis.rs | 3 +-- .../parachains/collectives/collectives-polkadot/src/genesis.rs | 3 +-- .../chains/parachains/coretime/coretime-kusama/src/genesis.rs | 3 +-- .../parachains/coretime/coretime-polkadot/src/genesis.rs | 3 +-- .../chains/parachains/people/people-kusama/src/genesis.rs | 3 +-- .../chains/parachains/people/people-polkadot/src/genesis.rs | 3 +-- .../emulated/chains/parachains/testing/penpal/src/genesis.rs | 3 +-- integration-tests/emulated/chains/relays/kusama/src/genesis.rs | 3 +-- .../emulated/chains/relays/polkadot/src/genesis.rs | 3 +-- .../asset-hubs/asset-hub-kusama/src/genesis_config_presets.rs | 3 +-- .../asset-hub-polkadot/src/genesis_config_presets.rs | 3 +-- .../bridge-hub-kusama/src/genesis_config_presets.rs | 3 +-- .../bridge-hub-polkadot/src/genesis_config_presets.rs | 3 +-- .../collectives-polkadot/src/genesis_config_presets.rs | 3 +-- .../coretime/coretime-kusama/src/genesis_config_presets.rs | 3 +-- .../coretime/coretime-polkadot/src/genesis_config_presets.rs | 3 +-- .../people/people-kusama/src/genesis_config_presets.rs | 3 +-- .../people/people-polkadot/src/genesis_config_presets.rs | 3 +-- 21 files changed, 21 insertions(+), 42 deletions(-) diff --git a/integration-tests/emulated/chains/parachains/assets/asset-hub-kusama/src/genesis.rs b/integration-tests/emulated/chains/parachains/assets/asset-hub-kusama/src/genesis.rs index ef5f7c3208..c33c5380b2 100644 --- a/integration-tests/emulated/chains/parachains/assets/asset-hub-kusama/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/assets/asset-hub-kusama/src/genesis.rs @@ -72,8 +72,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: asset_hub_kusama_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/genesis.rs b/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/genesis.rs index c5e175a8ea..4d2eec80d2 100644 --- a/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/genesis.rs @@ -98,8 +98,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: asset_hub_polkadot_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama/src/genesis.rs b/integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama/src/genesis.rs index 773e2e15cd..43e1c64d43 100644 --- a/integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/bridges/bridge-hub-kusama/src/genesis.rs @@ -52,8 +52,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: bridge_hub_kusama_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot/src/genesis.rs b/integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot/src/genesis.rs index ab46c11e2a..09b40f91c2 100644 --- a/integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/bridges/bridge-hub-polkadot/src/genesis.rs @@ -52,8 +52,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: bridge_hub_polkadot_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/collectives/collectives-polkadot/src/genesis.rs b/integration-tests/emulated/chains/parachains/collectives/collectives-polkadot/src/genesis.rs index 143e973f63..7becb87c8b 100644 --- a/integration-tests/emulated/chains/parachains/collectives/collectives-polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/collectives/collectives-polkadot/src/genesis.rs @@ -51,8 +51,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: collectives_polkadot_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/coretime/coretime-kusama/src/genesis.rs b/integration-tests/emulated/chains/parachains/coretime/coretime-kusama/src/genesis.rs index 32d5ae354c..b9aff33084 100644 --- a/integration-tests/emulated/chains/parachains/coretime/coretime-kusama/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/coretime/coretime-kusama/src/genesis.rs @@ -51,8 +51,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: coretime_kusama_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/coretime/coretime-polkadot/src/genesis.rs b/integration-tests/emulated/chains/parachains/coretime/coretime-polkadot/src/genesis.rs index e55ed5190b..7622fca4c1 100644 --- a/integration-tests/emulated/chains/parachains/coretime/coretime-polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/coretime/coretime-polkadot/src/genesis.rs @@ -52,8 +52,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: coretime_polkadot_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/people/people-kusama/src/genesis.rs b/integration-tests/emulated/chains/parachains/people/people-kusama/src/genesis.rs index 1ca4b7e21f..6e034d6ebf 100644 --- a/integration-tests/emulated/chains/parachains/people/people-kusama/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/people/people-kusama/src/genesis.rs @@ -47,8 +47,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: people_kusama_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/people/people-polkadot/src/genesis.rs b/integration-tests/emulated/chains/parachains/people/people-polkadot/src/genesis.rs index 5e3d3af754..93c6788ebb 100644 --- a/integration-tests/emulated/chains/parachains/people/people-polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/people/people-polkadot/src/genesis.rs @@ -47,8 +47,7 @@ pub fn genesis() -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: people_polkadot_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/parachains/testing/penpal/src/genesis.rs b/integration-tests/emulated/chains/parachains/testing/penpal/src/genesis.rs index fc99a474d2..2e16c6b251 100644 --- a/integration-tests/emulated/chains/parachains/testing/penpal/src/genesis.rs +++ b/integration-tests/emulated/chains/parachains/testing/penpal/src/genesis.rs @@ -60,8 +60,7 @@ pub fn genesis(para_id: u32) -> Storage { ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, polkadot_xcm: penpal_runtime::PolkadotXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION), diff --git a/integration-tests/emulated/chains/relays/kusama/src/genesis.rs b/integration-tests/emulated/chains/relays/kusama/src/genesis.rs index 9376c32229..de368cae62 100644 --- a/integration-tests/emulated/chains/relays/kusama/src/genesis.rs +++ b/integration-tests/emulated/chains/relays/kusama/src/genesis.rs @@ -104,8 +104,7 @@ pub fn genesis() -> Storage { ) }) .collect::>(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, babe: kusama_runtime::BabeConfig { authorities: Default::default(), diff --git a/integration-tests/emulated/chains/relays/polkadot/src/genesis.rs b/integration-tests/emulated/chains/relays/polkadot/src/genesis.rs index f8ae9b02c3..51bbfcb71c 100644 --- a/integration-tests/emulated/chains/relays/polkadot/src/genesis.rs +++ b/integration-tests/emulated/chains/relays/polkadot/src/genesis.rs @@ -106,8 +106,7 @@ pub fn genesis() -> Storage { ) }) .collect::>(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, staking: polkadot_runtime::StakingConfig { validator_count: validators::initial_authorities().len() as u32, diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/genesis_config_presets.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/genesis_config_presets.rs index 29235ae4d1..7a32b04b16 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/genesis_config_presets.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn asset_hub_kusama_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs index 0093c10f33..bfac3eb01a 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs @@ -72,8 +72,7 @@ fn asset_hub_polkadot_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/genesis_config_presets.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/genesis_config_presets.rs index 5ce7e23492..d40ff9e449 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/genesis_config_presets.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn bridge_hub_kusama_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/genesis_config_presets.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/genesis_config_presets.rs index 48ead8d036..20b5409148 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn bridge_hub_polkadot_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/collectives/collectives-polkadot/src/genesis_config_presets.rs b/system-parachains/collectives/collectives-polkadot/src/genesis_config_presets.rs index 0542b4641f..7d1b59ebd0 100644 --- a/system-parachains/collectives/collectives-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/collectives/collectives-polkadot/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn collectives_polkadot_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/coretime/coretime-kusama/src/genesis_config_presets.rs b/system-parachains/coretime/coretime-kusama/src/genesis_config_presets.rs index 515080bf39..2f70d24a07 100644 --- a/system-parachains/coretime/coretime-kusama/src/genesis_config_presets.rs +++ b/system-parachains/coretime/coretime-kusama/src/genesis_config_presets.rs @@ -58,8 +58,7 @@ fn coretime_kusama_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/coretime/coretime-polkadot/src/genesis_config_presets.rs b/system-parachains/coretime/coretime-polkadot/src/genesis_config_presets.rs index 1ec05a65cf..d63c826e61 100644 --- a/system-parachains/coretime/coretime-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/coretime/coretime-polkadot/src/genesis_config_presets.rs @@ -58,8 +58,7 @@ fn coretime_polkadot_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/people/people-kusama/src/genesis_config_presets.rs b/system-parachains/people/people-kusama/src/genesis_config_presets.rs index 2b79df6a7b..04249d196a 100644 --- a/system-parachains/people/people-kusama/src/genesis_config_presets.rs +++ b/system-parachains/people/people-kusama/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn people_kusama_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION), diff --git a/system-parachains/people/people-polkadot/src/genesis_config_presets.rs b/system-parachains/people/people-polkadot/src/genesis_config_presets.rs index 89ac640c17..61dfb6edd1 100644 --- a/system-parachains/people/people-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/people/people-polkadot/src/genesis_config_presets.rs @@ -56,8 +56,7 @@ fn people_polkadot_genesis( ) }) .collect(), - // TODO: Any keys to add here? - non_authority_keys: vec![], + ..Default::default() }, "polkadotXcm": { "safeXcmVersion": Some(SAFE_XCM_VERSION),