-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Context
libplanet/src/Libplanet/Blockchain/BlockChain.cs
Lines 193 to 199 in c1a1c5e
| else | |
| { | |
| _nextStateRootHash = | |
| DetermineNextBlockStateRootHash(Tip, out var actionEvaluations); | |
| IEnumerable<TxExecution> txExecutions = MakeTxExecutions(Tip, actionEvaluations); | |
| UpdateTxExecutions(txExecutions); | |
| } |
BlockChain.BlockChain must run IActionEvalautor.Execute() when initiated.
But when we want to open the BlockChain read-only version, Even though it is a non-domain-dependent class, it has domain-dependent dependencies.
Rationale
We need to add a boolean flag to BlockChain.BlockChain so the user can bypass the feature if the user doesn't want it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels