fixes serialization of request state

This commit is contained in:
benbierens 2024-04-09 13:24:30 +02:00
parent bbc975141f
commit 0224f17733
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,8 @@ using Nethereum.ABI;
using Nethereum.Hex.HexTypes; using Nethereum.Hex.HexTypes;
using Nethereum.Util; using Nethereum.Util;
using NethereumWorkflow; using NethereumWorkflow;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Utils; using Utils;
namespace CodexContractsPlugin namespace CodexContractsPlugin
@ -28,6 +30,7 @@ namespace CodexContractsPlugin
SlotFreedEventDTO[] GetSlotFreedEvents(BlockInterval blockRange); SlotFreedEventDTO[] GetSlotFreedEvents(BlockInterval blockRange);
} }
[JsonConverter(typeof(StringEnumConverter))]
public enum RequestState public enum RequestState
{ {
New, New,