Skip to content

Commit

Permalink
Timestamp piece no longer has UpForGrabs hack
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshOrndorff committed Mar 18, 2024
1 parent 5cce3eb commit e278748
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions wardrobe/timestamp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
//! Allow block authors to include a timestamp via an inherent transaction.
//!
//! This is roughly analogous to FRAME's pallet timestamp. It relies on the same client-side inherent data provider,
//! as well as Tuxedo's own previous block inehrent data provider.
//! as well as Tuxedo's own previous block inherent data provider.
//!
//! In each block, the block author must include a single `SetTimestamp` transaction that peeks at the
//! Timestamp UTXO that was created in the previous block, and creates a new one with an updated timestamp.
//!
//! This piece currently features a prominent hack which will need to be cleaned up in due course.
//! It abuses the UpForGrabs verifier. This should be replaced with an Unspendable verifier and an eviction workflow.
#![cfg_attr(not(feature = "std"), no_std)]

Expand Down

0 comments on commit e278748

Please sign in to comment.