Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RCP-240227A: Make timestamp part of genesis #1

Open
dr-orlovsky opened this issue Feb 27, 2024 · 0 comments
Open

RCP-240227A: Make timestamp part of genesis #1

dr-orlovsky opened this issue Feb 27, 2024 · 0 comments
Assignees
Labels
C-pushback Consensus-breaking change C-stdlib Proposes changes to standard library S-implemented
Milestone

Comments

@dr-orlovsky
Copy link
Member

dr-orlovsky commented Feb 27, 2024

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.

dr-orlovsky added a commit to RGB-WG/rgb-core that referenced this issue Feb 27, 2024
dr-orlovsky added a commit to RGB-WG/rgb-core that referenced this issue Mar 4, 2024
@dr-orlovsky dr-orlovsky added C-pushback Consensus-breaking change S-accepted Accepted proposals for the implementation labels Mar 13, 2024
@dr-orlovsky dr-orlovsky added this to the v0.11 milestone Mar 13, 2024
@dr-orlovsky dr-orlovsky added the C-stdlib Proposes changes to standard library label Mar 13, 2024
@dr-orlovsky dr-orlovsky self-assigned this Mar 16, 2024
@dr-orlovsky dr-orlovsky added S-implemented and removed S-accepted Accepted proposals for the implementation labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-pushback Consensus-breaking change C-stdlib Proposes changes to standard library S-implemented
Projects
Status: Done
Development

No branches or pull requests

1 participant