From de2a715bfd2bb0f172c9665bf4aa1d20dae0677e Mon Sep 17 00:00:00 2001 From: Say Cheong Date: Wed, 10 Jan 2024 16:51:48 +0900 Subject: [PATCH 1/2] Bump lib9c to e1742b5c --- Lib9c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib9c b/Lib9c index 84ce195e9..e1742b5c9 160000 --- a/Lib9c +++ b/Lib9c @@ -1 +1 @@ -Subproject commit 84ce195e9da6c0c393439ec405f01b48651488b3 +Subproject commit e1742b5c9a96d9b86a329e796c9c6e13e874ba0c From cbca00a7b55d864023698ac40210066511cd0684 Mon Sep 17 00:00:00 2001 From: Say Cheong Date: Wed, 3 Jan 2024 22:22:35 +0900 Subject: [PATCH 2/2] Bump fix --- NineChronicles.Headless/ActionEvaluationPublisher.cs | 11 ++++++++++- NineChronicles.Headless/GraphQLServiceExtensions.cs | 9 ++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/NineChronicles.Headless/ActionEvaluationPublisher.cs b/NineChronicles.Headless/ActionEvaluationPublisher.cs index f6f2142a3..bba680fd1 100644 --- a/NineChronicles.Headless/ActionEvaluationPublisher.cs +++ b/NineChronicles.Headless/ActionEvaluationPublisher.cs @@ -477,7 +477,16 @@ await _hub.BroadcastRenderBlockAsync( var extra = new Dictionary(); var encodeElapsedMilliseconds = stopwatch.ElapsedMilliseconds; - var eval = new NCActionEvaluation(pa, ev.Signer, ev.BlockIndex, ev.OutputState, ev.Exception, ev.PreviousState, ev.RandomSeed, extra); + var eval = new NCActionEvaluation( + pa, + ev.Signer, + ev.BlockIndex, + ev.OutputState, + ev.Exception, + ev.PreviousState, + ev.RandomSeed, + extra, + ev.TxId); var encoded = MessagePackSerializer.Serialize(eval); var c = new MemoryStream(); await using (var df = new DeflateStream(c, CompressionLevel.Fastest)) diff --git a/NineChronicles.Headless/GraphQLServiceExtensions.cs b/NineChronicles.Headless/GraphQLServiceExtensions.cs index 4679ef4e7..f2fc9afa0 100644 --- a/NineChronicles.Headless/GraphQLServiceExtensions.cs +++ b/NineChronicles.Headless/GraphQLServiceExtensions.cs @@ -1,6 +1,7 @@ using System; using System.Linq; using System.Reflection; +using System.Security.Cryptography; using GraphQL.Types; using Libplanet.Explorer.GraphTypes; using Libplanet.Explorer.Interfaces; @@ -34,9 +35,13 @@ public static IServiceCollection AddLibplanetScalarTypes(this IServiceCollection services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); + services.TryAddSingleton(); + services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); + services.TryAddSingleton(); services.TryAddSingleton(); + services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); @@ -45,7 +50,8 @@ public static IServiceCollection AddLibplanetScalarTypes(this IServiceCollection services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); - services.TryAddSingleton(); + services.TryAddSingleton>(); + services.TryAddSingleton>(); return services; } @@ -70,6 +76,7 @@ public static IServiceCollection AddLibplanetExplorer(this IServiceCollection se services.TryAddSingleton(); services.TryAddSingleton(); services.TryAddSingleton(); + services.TryAddSingleton(); services.TryAddSingleton(_ => new StateQuery() { Name = "LibplanetStateQuery",