mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-14 06:59:24 +00:00
fix some pr comments
This commit is contained in:
@@ -138,7 +138,7 @@ impl From<Call> for RuntimeCall {
|
||||
})
|
||||
}
|
||||
},
|
||||
Call::Emissions(_) => todo!(), // TODO
|
||||
Call::Emissions => todo!(), // TODO
|
||||
Call::InInstructions(ii) => match ii {
|
||||
serai_abi::in_instructions::Call::execute_batch { batch } => {
|
||||
RuntimeCall::InInstructions(in_instructions::Call::execute_batch { batch })
|
||||
|
||||
@@ -52,7 +52,7 @@ use sp_runtime::{
|
||||
#[allow(unused_imports)]
|
||||
use primitives::{
|
||||
NetworkId, PublicKey, AccountLookup, SubstrateAmount, Coin, NETWORKS, MEDIAN_PRICE_WINDOW_LENGTH,
|
||||
HOURS, DAYS, MINUTES, TARGET_BLOCK_TIME, BLOCK_SIZE,
|
||||
HOURS, DAYS, MINUTES, TARGET_BLOCK_TIME, BLOCK_SIZE, FAST_EPOCH_DURATION,
|
||||
};
|
||||
|
||||
use support::{
|
||||
@@ -283,7 +283,7 @@ pub type ReportLongevity = <Runtime as pallet_babe::Config>::EpochDuration;
|
||||
|
||||
impl babe::Config for Runtime {
|
||||
#[cfg(feature = "fast-epoch")]
|
||||
type EpochDuration = ConstU64<{ 2 * MINUTES }>;
|
||||
type EpochDuration = ConstU64<{ FAST_EPOCH_DURATION }>;
|
||||
|
||||
#[cfg(not(feature = "fast-epoch"))]
|
||||
type EpochDuration = ConstU64<{ 4 * 7 * DAYS }>;
|
||||
|
||||
Reference in New Issue
Block a user