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
solana: Configure clippy to deny possible truncation (#285)
* solana: Configure clippy to deny possible truncation
Adds a clippy rule to block the inclusion of code that can result in
truncation (i.e. `as T` conversions)
Adds linting directive to existing instances in the code and add
comments about why they are safe
Add a unit test on bitmap length to confirm that the maximum possible
number of votes (i.e. maximum "length" of the bitmap) is within the
limits of u8.
* solana: deny truncation in Cargo.toml instead of GitHub yml
* solana: Remove TODO referencing old PRs
* node: solana CI - fix Cargo.toml path
* solana: Change "as" to try_from()
0 commit comments