mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 03:37:56 +00:00
Remove unnecessary async and fix latest substrate changes (#645)
This commit is contained in:
@@ -5,7 +5,10 @@
|
||||
use crate::{
|
||||
node_runtime::{
|
||||
self,
|
||||
runtime_types,
|
||||
runtime_types::{
|
||||
self,
|
||||
frame_support::weights::weight_v2::Weight,
|
||||
},
|
||||
sudo,
|
||||
},
|
||||
pair_signer,
|
||||
@@ -54,7 +57,9 @@ async fn test_sudo_unchecked_weight() -> Result<(), subxt::Error> {
|
||||
dest: bob,
|
||||
value: 10_000,
|
||||
});
|
||||
let tx = node_runtime::tx().sudo().sudo_unchecked_weight(call, 0);
|
||||
let tx = node_runtime::tx()
|
||||
.sudo()
|
||||
.sudo_unchecked_weight(call, Weight { ref_time: 0 });
|
||||
|
||||
let found_event = api
|
||||
.tx()
|
||||
|
||||
Reference in New Issue
Block a user