Skip to content

Commit

Permalink
Bump headless
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Aug 5, 2024
1 parent e745ab6 commit 023000d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void Migration(
Block genesis = _baseStore.GetBlock(gHash);
var blockChainStates = new BlockChainStates(_baseStore, baseStateStore);
var actionEvaluator = new ActionEvaluator(
_ => blockPolicy.BlockAction,
blockPolicy.PolicyActionsRegistry,
baseStateStore,
new NCActionLoader());
_baseChain = new BlockChain(blockPolicy, stagePolicy, _baseStore, baseStateStore, genesis, blockChainStates, actionEvaluator);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public async Task Migration(
Block genesis = _baseStore.GetBlock(gHash);
var blockChainStates = new BlockChainStates(_baseStore, baseStateStore);
var actionEvaluator = new ActionEvaluator(
_ => blockPolicy.BlockAction,
blockPolicy.PolicyActionsRegistry,
baseStateStore,
new NCActionLoader());
_baseChain = new BlockChain(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ string mysqlDatabase
Block genesis = _baseStore.GetBlock(gHash);
var blockChainStates = new BlockChainStates(_baseStore, baseStateStore);
var actionEvaluator = new ActionEvaluator(
_ => blockPolicy.BlockAction,
blockPolicy.PolicyActionsRegistry,
baseStateStore,
new NCActionLoader());
_baseChain = new BlockChain(blockPolicy, stagePolicy, _baseStore, baseStateStore, genesis, blockChainStates, actionEvaluator);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void Migration(
Block genesis = _baseStore.GetBlock(gHash);
var blockChainStates = new BlockChainStates(_baseStore, baseStateStore);
var actionEvaluator = new ActionEvaluator(
_ => blockPolicy.BlockAction,
blockPolicy.PolicyActionsRegistry,
baseStateStore,
new NCActionLoader());
_baseChain = new BlockChain(blockPolicy, stagePolicy, _baseStore, baseStateStore, genesis, blockChainStates, actionEvaluator);
Expand Down
1 change: 0 additions & 1 deletion NineChronicles.DataProvider.Executable/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ IActionEvaluatorConfiguration GetActionEvaluatorConfiguration(IConfiguration con
{
RpcRemoteSever = false
},
new ConcurrentDictionary<string, Sentry.ITransaction>(),
new StateMemoryCache()
);

Expand Down
2 changes: 0 additions & 2 deletions NineChronicles.DataProvider/GraphQLStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using NineChronicles.DataProvider.GraphTypes;
using NineChronicles.Headless;
using NineChronicles.Headless.GraphTypes;
using Sentry;

public class GraphQLStartup
{
Expand Down Expand Up @@ -48,7 +47,6 @@ public void ConfigureServices(IServiceCollection services)
services.AddGraphTypes();
services.AddSingleton<NineChroniclesSummarySchema>();
services.AddSingleton<StandaloneSchema>();
services.AddSingleton<ConcurrentDictionary<string, ITransaction>>();
}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
Expand Down
2 changes: 1 addition & 1 deletion NineChronicles.Headless
Submodule NineChronicles.Headless updated 23 files
+6 −0 .gitallowed
+1 −1 Lib9c
+1 −1 Libplanet.Headless/Hosting/LibplanetNodeService.cs
+1 −1 NineChronicles.Headless.Executable.Tests/Commands/AccountCommandTest.cs
+4 −4 NineChronicles.Headless.Executable.Tests/Commands/ChainCommandTest.cs
+2 −2 NineChronicles.Headless.Executable/Commands/ChainCommand.cs
+1 −1 NineChronicles.Headless.Executable/Commands/ReplayCommand.Privates.cs
+2 −2 NineChronicles.Headless.Executable/Commands/ReplayCommand.cs
+1 −1 NineChronicles.Headless.Executable/Commands/StateCommand.cs
+0 −8 NineChronicles.Headless.Executable/Configuration.cs
+0 −5 NineChronicles.Headless.Executable/NineChronicles.Headless.Executable.csproj
+4 −62 NineChronicles.Headless.Executable/Program.cs
+0 −1 NineChronicles.Headless.Tests/GraphQLStartupTest.cs
+2 −2 NineChronicles.Headless.Tests/GraphQLTestUtils.cs
+47 −0 NineChronicles.Headless.Tests/GraphTypes/ActionQueryTest.cs
+0 −1 NineChronicles.Headless.Tests/GraphTypes/GraphQLTestBase.cs
+1 −1 NineChronicles.Headless.Tests/GraphTypes/TransactionHeadlessQueryTest.cs
+4 −19 NineChronicles.Headless/ActionEvaluationPublisher.cs
+0 −17 NineChronicles.Headless/BlockChainService.cs
+1 −0 NineChronicles.Headless/GraphTypes/ActionQuery.cs
+51 −0 NineChronicles.Headless/GraphTypes/ActionQueryFields/IssueToken.cs
+28 −0 NineChronicles.Headless/GraphTypes/ItemIdAndCountInputType.cs
+0 −3 NineChronicles.Headless/NineChronicles.Headless.csproj

0 comments on commit 023000d

Please sign in to comment.