Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
RGB-20: Updating timestamp for the release
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 10, 2020
1 parent a5eab8d commit d283cf2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/contracts/fungible/data/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ pub fn schema() -> Schema {
// While UNIX timestamps allow negative numbers; in context of RGB
// Schema, assets can't be issued in the past before RGB or Bitcoin
// even existed; so we prohibit all the dates before RGB release
// TODO: Update lower allowed timestamp value with the first RGB release
// Current lower time limit is 07/04/2020 @ 1:54pm (UTC)
FieldType::Timestamp => DataFormat::Integer(Bits::Bit64, 1593870844, core::i64::MAX as i128),
// This timestamp is equal to 10/10/2020 @ 2:37pm (UTC)
FieldType::Timestamp => DataFormat::Integer(Bits::Bit64, 1602340666, core::i64::MAX as i128),
FieldType::HistoryProof => DataFormat::Bytes(core::u16::MAX),
FieldType::HistoryProofFormat => DataFormat::Enum(HistoryProofFormat::all()),
FieldType::BurnedUtxo => DataFormat::TxOutPoint
Expand Down

0 comments on commit d283cf2

Please sign in to comment.