diff --git a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/tests/snowbridge.rs b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/tests/snowbridge.rs index 1ee3e8fc7647..afc2990d4aa0 100644 --- a/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/tests/snowbridge.rs +++ b/cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/tests/snowbridge.rs @@ -27,7 +27,7 @@ use codec::{Encode, Decode}; use cumulus_primitives_core::XcmError::{FailedToTransactAsset, NotHoldingFees}; use frame_support::parameter_types; use parachains_common::{AccountId, AuraId, Balance}; -use snowbridge_pallet_ethereum_client::WeightInfo; +use snowbridge_pallet_ethereum_client::{ExecutionHeaderBuffer, WeightInfo}; use sp_core::H160; use sp_keyring::AccountKeyring::Alice; use sp_runtime::{ @@ -117,7 +117,7 @@ fn max_message_queue_service_weight_is_more_than_beacon_extrinsic_weights() { } #[test] -fn ethereum_client_extrinsics() { +fn ethereum_client_consensus_extrinsics_work() { snowbridge_runtime_test_common::ethereum_extrinsic( collator_session_keys(), 1013, @@ -125,6 +125,15 @@ fn ethereum_client_extrinsics() { ); } +#[test] +fn ethereum_to_polkadot_message_extrinsics_work() { + snowbridge_runtime_test_common::ethereum_to_polkadot_message_extrinsics_work( + collator_session_keys(), + 1013, + construct_and_apply_extrinsic, + ); +} + fn construct_extrinsic( sender: sp_keyring::AccountKeyring, call: RuntimeCall,