Skip to content

Commit

Permalink
fix some integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Jan 2, 2025
1 parent 02ab05b commit a4cebbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Binary file modified integration-tests/evm-snapshot/SNAPSHOT
Binary file not shown.
2 changes: 1 addition & 1 deletion integration-tests/src/cross_chain_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ fn rococo_should_receive_asset_when_sent_from_hydra() {
Rococo::execute_with(|| {
assert_eq!(
hydradx_runtime::Balances::free_balance(AccountId::from(BOB)),
2_999_989_698_923 // 3 * HDX - fee
2_999_989_440_633 // 3 * HDX - fee
);
});
}
Expand Down
1 change: 1 addition & 0 deletions integration-tests/src/liquidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use orml_traits::currency::MultiCurrency;
use sp_core::{H256, U256};
use sp_runtime::{traits::CheckedConversion, SaturatedConversion};

// ./target/release/scraper save-storage --pallet EVM AssetRegistry Timestamp Omnipool Tokens --uri wss://rpc.nice.hydration.cloud:443
const PATH_TO_SNAPSHOT: &str = "evm-snapshot/SNAPSHOT";

#[module_evm_utility_macro::generate_function_selector]
Expand Down
2 changes: 2 additions & 0 deletions pallets/staking/src/integrations/democracy_legacy.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(unused_imports)]

use crate::pallet::{PositionVotes, Positions, ProcessedVotes};
use crate::types::{Action, Balance, Conviction, Vote};
use crate::{Config, Pallet};
Expand Down

0 comments on commit a4cebbc

Please sign in to comment.