Skip to content

Commit

Permalink
Merge pull request #538 from planet-submodule-updater/submodule-updat…
Browse files Browse the repository at this point in the history
…e/NineChronicles.Headless/release/72--ac31161

Update NineChronicles.Headless to release/72
  • Loading branch information
area363 authored Nov 10, 2023
2 parents f6aee13 + c72d82b commit 1347c7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion NineChronicles.DataProvider.Executable/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ IActionEvaluatorConfiguration GetActionEvaluatorConfiguration(IConfiguration con

var stateContext = new StateContext(
context.BlockChain!.GetAccountState(context.BlockChain!.Tip.Hash),
context.BlockChain!.Tip.Index
context.BlockChain!.Tip.Index,
new ArenaMemoryCache()
);

// 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);
var stateContext = new StateContext(GetMockState(), 0L, new ArenaMemoryCache());
services
.AddSingleton(standaloneContext)
.AddSingleton(stateContext)
Expand Down

0 comments on commit 1347c7b

Please sign in to comment.