Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Jan 22, 2024
1 parent b021fbe commit b8198e2
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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::{
Expand Down Expand Up @@ -117,14 +117,23 @@ 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,
construct_and_apply_extrinsic,
);
}

#[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,
Expand Down

0 comments on commit b8198e2

Please sign in to comment.