Skip to content

Wrong constant used for ExecutionCallThreshold #3616

@gldeng

Description

@gldeng

Description

callCountObserverThreshold is wrongly initialized with SmartContractConstants.ExecutionBranchThreshold value.

Steps To Reproduce

  • NA

Current Behavior

var callCountObserverThreshold = GetBlockExecutedData(blockIndex, CallCountThresholdKey)?.Value ??
SmartContractConstants.ExecutionBranchThreshold;

Expected Behavior

 var callCountObserverThreshold = GetBlockExecutedData(blockIndex, CallCountThresholdKey)?.Value ?? 
                                  SmartContractConstants.ExecutionCallThreshold; 

Environment

  • NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed to signal any kind of bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions