OffchainLabs / stylus-sdk-rs

Rust Smart Contracts on Arbitrum
249 stars 80 forks source link

Remove support for broken storage ints #170

Open rory-ocl opened 2 days ago

rory-ocl commented 2 days ago

Description

Previousy it was possible to define storage for ints and uints which
whose bit size was not divisible by 8. This was both broken, and is not
intended as a supported feature of Stylus. This has been changed into a
compile-time error to avoid using these broken types.

This fixes issue C-01 from the OpenZeppelin 0.7.0 audit.

Checklist