We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fix codeql errors about unsafe integer conversion:
Incorrect conversion of an unsigned 64-bit integer from to a lower bit size type int64 without an upper bound check.
See https://github.com/ObolNetwork/charon/pull/2650/checks?check_run_id=18076838602
Convert int64s to uint64s according to the ethereum specification doc.
The text was updated successfully, but these errors were encountered:
*: convert to uint64 (#2668)
1aa0bb4
Convert `Duty.Slot` from int64 to uint64. This is recommended according to ethereum consensus specs: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#custom-types category: feature ticket: #2658
xenowits
No branches or pull requests
🎯 Problem to be solved
Fix codeql errors about unsafe integer conversion:
See https://github.com/ObolNetwork/charon/pull/2650/checks?check_run_id=18076838602
🛠️ Proposed solution
Convert int64s to uint64s according to the ethereum specification doc.
The text was updated successfully, but these errors were encountered: