Skip to content

Commit

Permalink
people too
Browse files Browse the repository at this point in the history
  • Loading branch information
joepetrowski committed Jun 8, 2024
1 parent b8692af commit babcbea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/build_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ fn generate_authorize_upgrade_calls(upgrade_details: &UpgradeDetails) -> Vec<Cal
authorization_calls.push(call);
},
Network::KusamaPeople => {
use kusama_people::runtime_types::cumulus_pallet_parachain_system::pallet::Call;
use kusama_people::runtime_types::frame_system::pallet::Call;
let path = format!(
"{}people-kusama_runtime-v{}.compact.compressed.wasm",
upgrade_details.directory, runtime_version
Expand All @@ -325,9 +325,8 @@ fn generate_authorize_upgrade_calls(upgrade_details: &UpgradeDetails) -> Vec<Cal
println!("Kusama People Runtime Hash: 0x{}", hex::encode(runtime_hash));

let call = CallInfo::from_runtime_call(NetworkRuntimeCall::KusamaPeople(
KusamaPeopleRuntimeCall::ParachainSystem(Call::authorize_upgrade {
KusamaPeopleRuntimeCall::System(Call::authorize_upgrade {
code_hash: H256(runtime_hash),
check_version: true,
}),
));
authorization_calls.push(call);
Expand Down

0 comments on commit babcbea

Please sign in to comment.