fixes serialization of request state
This commit is contained in:
parent
bbc975141f
commit
0224f17733
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue