Skip to content

Wrong constant used for ExecutionCallThreshold #3616

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

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUsed to signal any kind of bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions