new tests based on new ghost-network functinality

Signed-off-by: Uncle Stinky <uncle.stinky@ghostchain.io>
This commit is contained in:
Uncle Stinky
2025-06-03 20:41:51 +03:00
parent 46d4716f67
commit 573e57dfb4
5 changed files with 97 additions and 10 deletions

View File

@@ -558,7 +558,7 @@ impl<T: Config> Pallet<T> {
received_claps_key: &(SessionIndex, &H256, &H256),
) -> DispatchResult {
ApplausesForTransaction::<T>::try_mutate(received_claps_key, |is_applaused| {
if *is_applaused {
if *is_applaused || T::NetworkDataHandler::is_nullification_period() {
return Ok(())
}