From 44dd577da31c78767399a4ae81415203406ba061 Mon Sep 17 00:00:00 2001 From: sydhds Date: Thu, 17 Oct 2024 16:15:34 +0200 Subject: [PATCH 1/2] Update executed denunciations in StateChanges.apply method --- massa-final-state/src/state_changes.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/massa-final-state/src/state_changes.rs b/massa-final-state/src/state_changes.rs index 85dd5b9b3df..98348a09fc7 100644 --- a/massa-final-state/src/state_changes.rs +++ b/massa-final-state/src/state_changes.rs @@ -217,6 +217,7 @@ impl StateChanges { self.pos_changes.extend(changes.pos_changes); self.executed_ops_changes .extend(changes.executed_ops_changes); + self.executed_denunciations_changes.extend(changes.executed_denunciations_changes); self.execution_trail_hash_change .apply(changes.execution_trail_hash_change); } From 48af979136b37c692144c2e4f836049a3a0cebc8 Mon Sep 17 00:00:00 2001 From: sydhds Date: Thu, 17 Oct 2024 16:17:21 +0200 Subject: [PATCH 2/2] Cargo fmt pass --- massa-final-state/src/state_changes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/massa-final-state/src/state_changes.rs b/massa-final-state/src/state_changes.rs index 98348a09fc7..c524c7882d1 100644 --- a/massa-final-state/src/state_changes.rs +++ b/massa-final-state/src/state_changes.rs @@ -217,7 +217,8 @@ impl StateChanges { self.pos_changes.extend(changes.pos_changes); self.executed_ops_changes .extend(changes.executed_ops_changes); - self.executed_denunciations_changes.extend(changes.executed_denunciations_changes); + self.executed_denunciations_changes + .extend(changes.executed_denunciations_changes); self.execution_trail_hash_change .apply(changes.execution_trail_hash_change); }