Fix benchmark with new XCM::V3 MAX_INSTRUCTIONS_TO_DECODE (#2514)

* Fix benchmark with new XCM::V3 MAX_INSTRUCTIONS_TO_DECODE

* Small refactor

* `ClearOrigin` replaced by ExpectPallet

* Doc

* Spellcheck

* Fixes and pr reviews
This commit is contained in:
Branislav Kontur authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 9216b781fd
commit 98ee19cb7d
3 files changed
+71 -25

No files matched your search

+3 -2
View File
@@ -1036,6 +1036,7 @@ impl_runtime_apis! {
];
use bridge_runtime_common::messages_benchmarking::{
generate_xcm_builder_bridge_message_sample,
prepare_message_delivery_proof_from_grandpa_chain,
prepare_message_delivery_proof_from_parachain,
prepare_message_proof_from_grandpa_chain,
@@ -1070,7 +1071,7 @@ impl_runtime_apis! {
Runtime,
WithRialtoParachainsInstance,
WithRialtoParachainMessageBridge,
>(params, xcm::v3::Junctions::Here)
>(params, generate_xcm_builder_bridge_message_sample(xcm::v3::Junctions::Here))
}
fn prepare_message_delivery_proof(
@@ -1101,7 +1102,7 @@ impl_runtime_apis! {
Runtime,
RialtoGrandpaInstance,
WithRialtoMessageBridge,
>(params, xcm::v3::Junctions::Here)
>(params, generate_xcm_builder_bridge_message_sample(xcm::v3::Junctions::Here))
}
fn prepare_message_delivery_proof(