From 643c9752bfca4c7230059c21caa26807e1224aeb Mon Sep 17 00:00:00 2001 From: Say Cheong Date: Wed, 13 Sep 2023 09:16:40 +0900 Subject: [PATCH] Accommodate API changes --- .../Commands/ReplayCommand.Privates.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NineChronicles.Headless.Executable/Commands/ReplayCommand.Privates.cs b/NineChronicles.Headless.Executable/Commands/ReplayCommand.Privates.cs index 9581815f3..ffc9c5410 100644 --- a/NineChronicles.Headless.Executable/Commands/ReplayCommand.Privates.cs +++ b/NineChronicles.Headless.Executable/Commands/ReplayCommand.Privates.cs @@ -19,6 +19,7 @@ using RocksDbSharp; using Serilog; using Libplanet.Store.Trie; +using Libplanet.Store; namespace NineChronicles.Headless.Executable.Commands { @@ -118,6 +119,10 @@ public LocalCacheBlockChainStates(IBlockChainStates source, string cacheDirector _rocksDb = RocksDb.Open(options, cacheDirectory); } + public IStore Store => _source.Store; + + public IStateStore StateStore => _source.StateStore; + public IValue? GetState(Address address, BlockHash? offset) { return GetAccountState(offset).GetState(address);