function to trigger nullification period, tests for the new functionality and expansion of NetworkData trait

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch
2025-06-04 15:35:48 +03:00
parent c55d9a05d9
commit 1e4abbfe69
5 changed files with 24 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "ghost-traits"
version = "0.3.20"
version = "0.3.21"
license.workspace = true
authors.workspace = true
edition.workspace = true

View File

@@ -38,4 +38,5 @@ pub trait NetworkDataMutateHandler<Network, Balance>: NetworkDataInspectHandler<
) -> Result<(Balance, Balance), ()>;
fn accumulate_commission(commission: &Balance) -> Result<Balance, ()>;
fn nullify_commission();
fn trigger_nullification();
}