diff --git a/src/RpcNep17Tracker/RpcNep17Tracker.cs b/src/RpcNep17Tracker/RpcNep17Tracker.cs index 331c84ede..cab0fb1e4 100644 --- a/src/RpcNep17Tracker/RpcNep17Tracker.cs +++ b/src/RpcNep17Tracker/RpcNep17Tracker.cs @@ -144,7 +144,7 @@ private void HandleNotification(StoreView snapshot, IVerifiable scriptContainer, } } - public void OnPersist(StoreView snapshot, IReadOnlyList applicationExecutedList) + void IPersistencePlugin.OnPersist(Block block, StoreView snapshot, IReadOnlyList applicationExecutedList) { // Start freshly with a new DBCache for each block. ResetBatch(); @@ -192,7 +192,7 @@ public void OnPersist(StoreView snapshot, IReadOnlyList applicationExecutedList) + void IPersistencePlugin.OnPersist(Block block, StoreView snapshot, IReadOnlyList applicationExecutedList) { if (Settings.Default.PersistAction.HasFlag(PersistActions.StorageChanges)) OnPersistStorage(snapshot); @@ -96,7 +97,7 @@ private void OnPersistStorage(StoreView snapshot) } } - public void OnCommit(StoreView snapshot) + void IPersistencePlugin.OnCommit(Block block, StoreView snapshot) { if (Settings.Default.PersistAction.HasFlag(PersistActions.StorageChanges)) OnCommitStorage(snapshot); @@ -119,7 +120,7 @@ public void OnCommitStorage(StoreView snapshot) } } - public bool ShouldThrowExceptionFromCommit(Exception ex) + bool IPersistencePlugin.ShouldThrowExceptionFromCommit(Exception ex) { Console.WriteLine($"Error writing States with StatesDumper.{Environment.NewLine}{ex}"); return true;