Skip to content

Commit

Permalink
resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
SunTiebing committed Jun 19, 2024
1 parent 6ff9067 commit d048613
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion pallets/slpx/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ mod benchmarks {
KSM,
TargetChain::Astar(receiver),
BoundedVec::default(),
None,
);
}

Expand Down
1 change: 0 additions & 1 deletion pallets/slpx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ pub mod pallet {
currency_id: CurrencyIdOf<T>,
target_chain: TargetChain<AccountIdOf<T>>,
remark: BoundedVec<u8, ConstU32<32>>,
channel_id: Option<u32>,
) -> DispatchResultWithPostInfo {
let (source_chain_caller, derivative_account, bifrost_chain_caller) =
Self::ensure_singer_on_whitelist(origin.clone(), evm_caller, &target_chain)?;
Expand Down
6 changes: 2 additions & 4 deletions pallets/slpx/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,7 @@ fn test_add_order() {
source_chain_caller,
DOT,
TargetChain::Astar(source_chain_caller),
BoundedVec::default(),
None
BoundedVec::default()
));
assert_eq!(OrderQueue::<Test>::get().len(), 1usize);
assert_ok!(Slpx::redeem(
Expand Down Expand Up @@ -414,8 +413,7 @@ fn test_hook() {
source_chain_caller,
DOT,
TargetChain::Astar(source_chain_caller),
BoundedVec::default(),
None
BoundedVec::default()
));
assert_eq!(OrderQueue::<Test>::get().len(), 1usize);
<frame_system::Pallet<Test>>::set_block_number(2u32.into());
Expand Down

0 comments on commit d048613

Please sign in to comment.