Skip to content

Commit 21ab960

Browse files
committed
fix: make ci happy
1 parent f19aee3 commit 21ab960

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

integration-tests/emulated/helpers/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pub use xcm_emulator::Chain;
3131
/// TODO: when bumping to polkadot-sdk v1.8.0,
3232
/// remove this crate altogether and get the macros from `emulated-integration-tests-common`.
3333
/// TODO: backport this macros to polkadot-sdk
34-
3534
#[macro_export]
3635
macro_rules! test_relay_is_trusted_teleporter {
3736
( $sender_relay:ty, $sender_xcm_config:ty, vec![$( $receiver_para:ty ),+], ($assets:expr, $amount:expr) ) => {

relay/polkadot/src/coretime_migration.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ fn migrate_send_assignments_to_coretime_chain<
244244
},
245245
};
246246

247-
let time_slice = (valid_until + TIMESLICE_PERIOD - 1) / TIMESLICE_PERIOD;
247+
let time_slice = (valid_until + TIMESLICE_PERIOD - 1).div_ceil(TIMESLICE_PERIOD);
248248
log::trace!(target: "coretime-migration", "Sending of lease holding para {:?}, valid_until: {:?}, time_slice: {:?}", p, valid_until, time_slice);
249249
Some(mk_coretime_call::<T>(CoretimeCalls::SetLease(p.into(), time_slice)))
250250
});

system-parachains/coretime/coretime-polkadot/src/lib.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,10 @@ parameter_types! {
181181
}
182182

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

0 commit comments

Comments
 (0)