Add explicit hook for deciding whether to include the genesis validators

This commit is contained in:
Luke Parker
2025-09-20 01:41:54 -04:00
parent e62b62ddfb
commit 7b46477ca0
2 changed files with 43 additions and 23 deletions

View File

@@ -11,3 +11,10 @@ pub enum Event {
network: ExternalNetworkId,
},
}
/// A trait representing access to the information on economic security.
pub trait EconomicSecurity {
/// If am external network has _ever_ achieved economic security.
#[must_use]
fn achieved_economic_security(network: ExternalNetworkId) -> bool;
}