Fix #255 distance reading discarded state
- Fixed the
pallet-distanceissue whereCurrentPoolIndexwas unset during the first evaluation period, which would cause errors if theinherent_data_providerwas correctly implemented. - Fixed #255 (closed) by removing all the
expectcalls from the implementation. Errors will now propagate using theinherent_data_providererror mechanism without crashing the node or being shadowed by default values.
Edited by Benjamin Gallois