Skip to content

Commit

Permalink
fix: make ci happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Dec 9, 2024
1 parent f19aee3 commit 21ab960
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion integration-tests/emulated/helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pub use xcm_emulator::Chain;
/// TODO: when bumping to polkadot-sdk v1.8.0,
/// remove this crate altogether and get the macros from `emulated-integration-tests-common`.
/// TODO: backport this macros to polkadot-sdk
#[macro_export]
macro_rules! test_relay_is_trusted_teleporter {
( $sender_relay:ty, $sender_xcm_config:ty, vec![$( $receiver_para:ty ),+], ($assets:expr, $amount:expr) ) => {
Expand Down
2 changes: 1 addition & 1 deletion relay/polkadot/src/coretime_migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ fn migrate_send_assignments_to_coretime_chain<
},
};

let time_slice = (valid_until + TIMESLICE_PERIOD - 1) / TIMESLICE_PERIOD;
let time_slice = (valid_until + TIMESLICE_PERIOD - 1).div_ceil(TIMESLICE_PERIOD);
log::trace!(target: "coretime-migration", "Sending of lease holding para {:?}, valid_until: {:?}, time_slice: {:?}", p, valid_until, time_slice);
Some(mk_coretime_call::<T>(CoretimeCalls::SetLease(p.into(), time_slice)))
});
Expand Down
7 changes: 3 additions & 4 deletions system-parachains/coretime/coretime-polkadot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,10 @@ parameter_types! {
}

/// Filter:
/// - Credit purchase calls until the credit system is implemented. Otherwise, users
/// may have chance of locking their funds forever on purchased credits they cannot use.
/// - Credit purchase calls until the credit system is implemented. Otherwise, users may have chance
/// of locking their funds forever on purchased credits they cannot use.
/// - The interlace call until the relay can support this fully
/// - Auto-renew functionality until resolution of polkadot-sdk issue
/// [#6474](https://github.com/paritytech/polkadot-sdk/issues/6474)
/// - Auto-renew functionality until resolution of polkadot-sdk issue [#6474](https://github.com/paritytech/polkadot-sdk/issues/6474)
pub struct IsFilteredBrokerCall;
impl Contains<RuntimeCall> for IsFilteredBrokerCall {
fn contains(c: &RuntimeCall) -> bool {
Expand Down

0 comments on commit 21ab960

Please sign in to comment.