Open gldeng opened 1 month ago
callCountObserverThreshold is wrongly initialized with SmartContractConstants.ExecutionBranchThreshold value.
callCountObserverThreshold
SmartContractConstants.ExecutionBranchThreshold
https://github.com/AElfProject/AElf/blob/88d4e10f7a7bac2d063e10828bb0d8fc7097a989/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs#L35-L36
var callCountObserverThreshold = GetBlockExecutedData(blockIndex, CallCountThresholdKey)?.Value ?? SmartContractConstants.ExecutionCallThreshold;
Description
callCountObserverThreshold
is wrongly initialized withSmartContractConstants.ExecutionBranchThreshold
value.Steps To Reproduce
Current Behavior
https://github.com/AElfProject/AElf/blob/88d4e10f7a7bac2d063e10828bb0d8fc7097a989/src/AElf.Kernel.SmartContract/Application/IExecutionObserverThresholdProvider.cs#L35-L36
Expected Behavior
Environment