This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Timestamp::set_timestamp
does not set DidUpdate
#11958
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
When runtime/integration testing using
AllPalletsWithSystem::on_initialize()
it makes sense to also useAllPalletsWithSystem::on_finalize()
, and require timestamp updates as you progress in blocks. However, becauseTimestamp::set_timestamp
does not also setDidUpdate
totrue
, theon_finalize
for theTimestamp
pallet fails, as it is just an assertI have a feeling there might be a reason for this, but it does strike me as a little strange, and at the very least, there should be something that could be done to improve this, potentially by improving the flexibility of
AllPallets...
or something of that nature.Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: