Skip to content

Commit

Permalink
Accommodate API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
greymistcube committed Sep 13, 2023
1 parent c5a299e commit 643c975
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using RocksDbSharp;
using Serilog;
using Libplanet.Store.Trie;
using Libplanet.Store;

namespace NineChronicles.Headless.Executable.Commands
{
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 643c975

Please sign in to comment.