Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Jan 13, 2025
1 parent 476aff0 commit 960eb0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion integration-tests/src/evm_permit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ fn compare_fee_in_hdx_between_evm_and_native_omnipool_calls_when_permit_is_dispa
// Pre dispatch the native omnipool call - so withdrawing only the fees for the execution
let info = omni_sell.get_dispatch_info();
let pre = pallet_transaction_payment::ChargeTransactionPayment::<hydradx_runtime::Runtime>::from(0)
.pre_dispatch(&AccountId::from(user_acc.address()), &omni_sell, &info, omni_sell.encoded_size());
.pre_dispatch(
&AccountId::from(user_acc.address()),
&omni_sell,
&info,
omni_sell.encoded_size(),
);
assert_ok!(&pre);

let alice_currency_balance_pre_dispatch =
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/src/polkadot_test_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -709,8 +709,8 @@ pub fn expect_hydra_events(event: Vec<hydradx_runtime::RuntimeEvent>) {

pub fn set_relaychain_block_number(number: BlockNumber) {
use hydradx_runtime::ParachainSystem;
use xcm_emulator::HeaderT;
use sp_core::{Encode, Get};
use xcm_emulator::HeaderT;

// We need to set block number this way as well because tarpaulin code coverage tool does not like the way
// how we set the block number with `cumulus-test-relay-sproof-builder` package
Expand Down

0 comments on commit 960eb0e

Please sign in to comment.