public StateProvider(ITrieStore trieStore, IKeyValueStore codeDb, ILogManager logManager) { _logger = logManager.GetClassLogger <StateProvider>() ?? throw new ArgumentNullException(nameof(logManager)); _codeDb = codeDb ?? throw new ArgumentNullException(nameof(codeDb)); _tree = new StateTree(trieStore, logManager); }