Skip to content

[P0] Remove float math from `devshards` consensus #893

Closed @Brgndy25 opened 2026-03-16 13:52 UTC 1 comment Updated 2026-04-29 21:44 UTC
Priority: High devshards

DeterministicFloat, ShouldValidate, and penalizeUnrevealedSeeds use float64 and math.Ceil.

Floating-point arithmetic is not deterministicacross architectures and can produce different results on different machines, which can lead to state root divergence and consensus splits.


💬 Comments (1)

@KKizilov commented 2026-03-26 15:17 UTC

Will be done by March 27th.


🔄 Auto-synced from Issue #893 every hour.