mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 09:21:08 +00:00
Bring back runtime upgrade test (#525)
This brings back the runtime upgrade test and also updates Substrate & Polkadot.
This commit is contained in:
1 parent
d0b57c1ad4
commit
a2a97be872
11 files changed
+362
-329
No files matched your search
@@ -669,7 +669,7 @@ impl TestNode {
|
||||
|
||||
/// Register a parachain at this relay chain.
|
||||
pub async fn schedule_upgrade(&self, validation: Vec<u8>) -> Result<(), RpcTransactionError> {
|
||||
let call = frame_system::Call::set_code_without_checks(validation);
|
||||
let call = frame_system::Call::set_code(validation);
|
||||
|
||||
self.send_extrinsic(
|
||||
runtime::SudoCall::sudo_unchecked_weight(Box::new(call.into()), 1_000),
|
||||
|
||||
Reference in new issue
Block a user