Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong constant used for ExecutionCallThreshold #3616

Open
gldeng opened this issue Oct 9, 2024 · 0 comments
Open

Wrong constant used for ExecutionCallThreshold #3616

gldeng opened this issue Oct 9, 2024 · 0 comments
Labels
bug Used to signal any kind of bug

Comments

@gldeng
Copy link
Contributor

gldeng commented Oct 9, 2024

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
@gldeng gldeng added the bug Used to signal any kind of bug label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to signal any kind of bug
Projects
None yet
Development

No branches or pull requests

1 participant