mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
Remove dispatch_result field (#1660)
* remove dispatch_result field * fix benchmarks
This commit is contained in:
committed by
Bastian Köcher
parent
56d58d60da
commit
1688b493cd
@@ -511,7 +511,7 @@ pub mod target {
|
||||
};
|
||||
|
||||
let xcm_outcome = do_dispatch();
|
||||
let dispatch_result = match xcm_outcome {
|
||||
match xcm_outcome {
|
||||
Ok(outcome) => {
|
||||
log::trace!(
|
||||
target: "runtime::bridge-dispatch",
|
||||
@@ -520,7 +520,7 @@ pub mod target {
|
||||
outcome,
|
||||
);
|
||||
match outcome.ensure_execution() {
|
||||
Ok(_weight) => true,
|
||||
Ok(_weight) => (),
|
||||
Err(e) => {
|
||||
log::error!(
|
||||
target: "runtime::bridge-dispatch",
|
||||
@@ -528,7 +528,6 @@ pub mod target {
|
||||
message_id,
|
||||
e,
|
||||
);
|
||||
false
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -539,12 +538,10 @@ pub mod target {
|
||||
message_id,
|
||||
e,
|
||||
);
|
||||
false
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
MessageDispatchResult {
|
||||
dispatch_result,
|
||||
unspent_weight: Weight::zero(),
|
||||
dispatch_fee_paid_during_dispatch: false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user