Files
lighthouse/consensus/types/src
Eric Tu c06ac81c67 Shuffling for 32 bit platforms (#7725)
- In shuffling, a the raw_pivot (u64) is cast to a usize which will break on 32 bit systems. Now it is modulo'ed with the list_size first then cast to a usize.
- ruint doesn't implement shifting with u64's on 32-bit arch. Since `prefix_bits` is u8 and NODE_ID_BITS = 256, we use them as u32's instead.

See: https://docs.rs/ruint/latest/src/ruint/bits.rs.html#711
2025-08-06 02:37:07 +00:00
..
2024-04-25 20:19:41 +00:00
2024-07-25 15:56:22 +00:00
2025-03-12 22:31:05 +00:00
2025-06-25 05:33:17 +00:00