FuelLabs / fuel-vm

Fuel v2 interpreter in Rust
Other
351 stars 82 forks source link

Investigate: Assess arithmetic safety of fuel-merkle crate #491

Open xgreenx opened 1 year ago

xgreenx commented 1 year ago

https://github.com/FuelLabs/fuel-merkle/issues/124

Dentosal commented 3 months ago

Mostly addressed in https://github.com/FuelLabs/fuel-vm/pull/729

From the original issue there's still:

  • Limit leaves_count to 2^63 for push and load operations

Which seems like a non-issue, as a it's physically impossible to have enough memory to for trees of that magnitude.