mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Deploy pallet-parameters to rococo and fix dynamic_params name expand (#4006)
Changes: - Add pallet-parameters to Rococo to configure the NIS and preimage pallet. - Fix names of expanded dynamic params. Apparently, `to_class_case` removes suffix `s`, and `Nis` becomes `Ni` 😑. Now using `to_pascal_case`. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Alessandro Siniscalchi <asiniscalchi@gmail.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
1bca825cc2
commit
30c58fa22a
@@ -2198,7 +2198,7 @@ impl EnsureOriginWithArg<RuntimeOrigin, RuntimeParametersKey> for DynamicParamet
|
||||
frame_system::ensure_root(origin.clone()).map_err(|_| origin)?;
|
||||
return Ok(())
|
||||
},
|
||||
RuntimeParametersKey::Contract(_) => {
|
||||
RuntimeParametersKey::Contracts(_) => {
|
||||
frame_system::ensure_root(origin.clone()).map_err(|_| origin)?;
|
||||
return Ok(())
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user