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

Minting: make sure we can transition from current flow #581

Closed
Tracked by #492
DylanVerstraete opened this issue Jan 13, 2023 · 1 comment
Closed
Tracked by #492

Minting: make sure we can transition from current flow #581

DylanVerstraete opened this issue Jan 13, 2023 · 1 comment
Labels
type_feature New feature or request
Milestone

Comments

@DylanVerstraete
Copy link
Contributor

According to following specs:

The current minting has 2 things which we need to account for. These are fixed periods, and receipts. Receipts will be replaced by elaborate events when the minting happens, which will contain all the data the current receipts have. These events can then easily be extracted from graphql by whoever wants, possibly to build a UI on top.

The fixed periods also make it easy to transition from one system to the other. Once the code is complete, we decide when to transition. This will be at the boundary of a period. We then add checks in the minting code on chain to ignore most events from before this timestamp, only updating the last report received and last reported uptime fields. After the timestamp we handle extrinsics as described. In a future update, the checks can be removed. We then do a final mint off chain while the minting code is running and takes over.

@DylanVerstraete DylanVerstraete added the type_feature New feature or request label Jan 13, 2023
@DylanVerstraete DylanVerstraete added this to the 2.3.0 milestone Jan 13, 2023
@DylanVerstraete
Copy link
Contributor Author

Will require work in graphql: threefoldtech/tfchain_graphql#82

@renauter renauter mentioned this issue Jan 17, 2023
12 tasks
@DylanVerstraete DylanVerstraete removed this from the 2.3.0 milestone Feb 22, 2023
@DylanVerstraete DylanVerstraete added this to the later milestone Mar 28, 2023
@xmonader xmonader closed this as completed Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants