Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NineChronicles.Headless to release/72 #559

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NineChronicles.DataProvider.Executable/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ IActionEvaluatorConfiguration GetActionEvaluatorConfiguration(IConfiguration con
RpcRemoteSever = false
},
new ConcurrentDictionary<string, Sentry.ITransaction>(),
new ArenaMemoryCache()
new StateMemoryCache()
);

if (headlessConfig.LogActionRenders)
Expand All @@ -250,7 +250,7 @@ IActionEvaluatorConfiguration GetActionEvaluatorConfiguration(IConfiguration con
var stateContext = new StateContext(
context.BlockChain!.GetAccountState(context.BlockChain!.Tip.Hash),
context.BlockChain!.Tip.Index,
new ArenaMemoryCache()
new StateMemoryCache()
);

// ConfigureServices must come before Configure for now
Expand Down
2 changes: 1 addition & 1 deletion NineChronicles.DataProvider.Tests/TestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected TestBase()
{
KeyStore = keyStore,
};
var stateContext = new StateContext(GetMockState(), 0L, new ArenaMemoryCache());
var stateContext = new StateContext(GetMockState(), 0L, new StateMemoryCache());
services
.AddSingleton(standaloneContext)
.AddSingleton(stateContext)
Expand Down
2 changes: 1 addition & 1 deletion NineChronicles.DataProvider/GraphQLStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void ConfigureServices(IServiceCollection services)
.AddGraphTypes(typeof(StandaloneSchema))
.AddLibplanetExplorer()
.AddUserContextBuilder<UserContextBuilder>();
services.AddSingleton<ArenaMemoryCache>();
services.AddSingleton<StateMemoryCache>();
services.AddGraphTypes();
services.AddSingleton<NineChroniclesSummarySchema>();
services.AddSingleton<StandaloneSchema>();
Expand Down
Loading