Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Fix CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest committed Jan 13, 2023
1 parent 553ef8a commit 87fbe5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pallet/message-transact/src/tests/eip1559.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,12 @@ fn test_dispatch_eip1559_transaction_weight_mismatch() {
);

assert!(!result.dispatch_result);

System::assert_has_event(RuntimeEvent::Dispatch(
pallet_bridge_dispatch::Event::MessageWeightMismatch(
SOURCE_CHAIN_ID,
mock_message_id,
Weight::from_ref_time(1249913722000),
Weight::from_ref_time(1249901046000),
Weight::from_ref_time(1000000000000),
),
));
Expand Down
2 changes: 1 addition & 1 deletion pallet/message-transact/src/tests/eip2930.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fn test_dispatch_eip2930_transaction_weight_mismatch() {
pallet_bridge_dispatch::Event::MessageWeightMismatch(
SOURCE_CHAIN_ID,
mock_message_id,
Weight::from_ref_time(1249913722000),
Weight::from_ref_time(1249901046000),
Weight::from_ref_time(1000000000000),
),
));
Expand Down
2 changes: 1 addition & 1 deletion pallet/message-transact/src/tests/legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn test_dispatch_legacy_transaction_weight_mismatch() {
pallet_bridge_dispatch::Event::MessageWeightMismatch(
SOURCE_CHAIN_ID,
mock_message_id,
Weight::from_ref_time(1249913722000),
Weight::from_ref_time(1249901046000),
Weight::from_ref_time(1000000000000),
),
));
Expand Down

0 comments on commit 87fbe5e

Please sign in to comment.