You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
The MAX_UINT64 check should be performed on the result of the addition
Actual behavior
The verify method of the MainchainRegistrationCommand class iterates through the provided list of mainchain validators, summing their BFT weights into the totalWeight variable. If totalWeight exceeds the MAX_UINT64 constant, the loop terminates, and the method returns an error
Expected behavior
The MAX_UINT64 check should be performed on the result of the addition
Actual behavior
The verify method of the MainchainRegistrationCommand class iterates through the provided list of mainchain validators, summing their BFT weights into the totalWeight variable. If totalWeight exceeds the MAX_UINT64 constant, the loop terminates, and the method returns an error
Steps to reproduce
Link to code
Which version(s) does this affect? (Environment, OS, etc...)
6.0.0-beta.3
The text was updated successfully, but these errors were encountered: