-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
C-pushbackConsensus-breaking changeConsensus-breaking changeC-stdlibProposes changes to standard libraryProposes changes to standard libraryS-implemented
Milestone
Description
layers: consensus, standard library
consensus: pushback
Today genesis doesn't provide a way to define a moment of the contract issue (genesis creation).
Specific schemata have to define a dedicated global state and require genesis to provide it. This information can also be exposed to wallets via interfaces, like RGB20, 21 etc.
No support for timestamps in genesis combined with a need to provide this information for nearly each type of contract leads to a lot of boilerplate code and makes the lives of contract developers and issuers harder.
I propose to introduce timestamp as a part of genesis, and provide an API for it in stdlib, independently from the interface.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-pushbackConsensus-breaking changeConsensus-breaking changeC-stdlibProposes changes to standard libraryProposes changes to standard libraryS-implemented
Type
Projects
Status
Done