Skip to content
Commit 753907a1 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Timestamp: `set_timestamp` sets `DidUpdate` (#11960)



* Timestamp: `set_timestamp` sets `DidUpdate`

There exists the `set_timestamp` in the Timestamp pallet for setting the current timestamp. The
problem is that it doesn't set `DidUpdate`. This results in `on_finalize` panicking. There is no
real reason why the function doesn't also set `DidUpdate`.

* Update frame/timestamp/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* Fix Babe tests

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
parent b8ad4537
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment