Attackathon _ Fuel Network 32786 - [Smart Contract - Low] incorrect set of i bits to which it should
Description
Brief/Intro
Vulnerability Details
impl I256 {
/// The size of this type in bits.
///
/// # Returns
///
/// [u64] - The defined size of the `I256` type.
///
/// # Examples
///
/// ``sway
/// use sway_libs::signed_integers::i256::I256;
///
/// fn foo() {
/// let bits = I256::bits();
/// assert(bits == 128);
/// }
/// ```
pub fn bits() -> u64 {
128
}
Impact Details
References
Proof of concept
Proof of Concept
PreviousAttackathon _ Fuel Network 32768 - [Blockchain_DLT - Medium] WDCM and WQCM doesnt respect the fuel-sNextAttackathon _ Fuel Network 32812 - [Smart Contract - Low] Sway-libSRC- Buffer overflow in swap_confi
Last updated
Was this helpful?