mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 06:08:00 +00:00
add parachains pallets to Polkadot runtime (#3815)
* add parachains pallets to Polkadot runtime * some updates * temp update deposits, fix compile * lower para byte deposit * fix genesis * fmt * fix spell * updates to consts * update benchmark list * fix merge master * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs * skip large meta * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::crowdloan --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_crowdloan.rs * cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=runtime_common::paras_registrar --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/runtime_common_paras_registrar.rs * fmt * add and update proxies * add weight info * weights * lower minimum contribution to 5 DOT * only overwrite when default Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Parity Bot <admin@parity.io>
This commit is contained in:
committed by
GitHub
parent
03934d2af1
commit
ccb7bc5c60
@@ -157,7 +157,12 @@ pub fn wococo_config() -> Result<RococoChainSpec, String> {
|
||||
}
|
||||
|
||||
/// The default parachains host configuration.
|
||||
#[cfg(any(feature = "rococo-native", feature = "kusama-native", feature = "westend-native"))]
|
||||
#[cfg(any(
|
||||
feature = "rococo-native",
|
||||
feature = "kusama-native",
|
||||
feature = "westend-native",
|
||||
feature = "polkadot-native"
|
||||
))]
|
||||
fn default_parachains_host_configuration(
|
||||
) -> polkadot_runtime_parachains::configuration::HostConfiguration<
|
||||
polkadot_primitives::v1::BlockNumber,
|
||||
@@ -364,6 +369,10 @@ fn polkadot_staging_testnet_config_genesis(wasm_binary: &[u8]) -> polkadot::Gene
|
||||
claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] },
|
||||
vesting: polkadot::VestingConfig { vesting: vec![] },
|
||||
treasury: Default::default(),
|
||||
configuration: polkadot::ConfigurationConfig {
|
||||
config: default_parachains_host_configuration(),
|
||||
},
|
||||
paras: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1310,6 +1319,10 @@ pub fn polkadot_testnet_genesis(
|
||||
claims: polkadot::ClaimsConfig { claims: vec![], vesting: vec![] },
|
||||
vesting: polkadot::VestingConfig { vesting: vec![] },
|
||||
treasury: Default::default(),
|
||||
configuration: polkadot::ConfigurationConfig {
|
||||
config: default_parachains_host_configuration(),
|
||||
},
|
||||
paras: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user