Fix #255 distance reading discarded state
Compare changes
+ 28
− 16
@@ -40,18 +40,30 @@ where
@@ -68,21 +80,21 @@ where
pallet-distance
issue where CurrentPoolIndex
was unset during the first evaluation period, which would cause errors if the inherent_data_provider
was correctly implemented.expect
calls from the implementation. Errors will now propagate using the inherent_data_provider
error mechanism without crashing the node or being shadowed by default values.