-
Notifications
You must be signed in to change notification settings - Fork 1
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
Convert user constraint to Pointer #531
Comments
A question that came up was how to price bytecode, weather to charge once upfront and store forever, or to let people remove programs and charge a deposit for removal, currently the deposit method is implemented |
Problem StatementTo make sure I understand what's going on here, let me first define what I understand the Right now users are required to upload a full program during registration. This can cause We want to figure out a way to simplify this process for users. Open QuestionsOn top of the original problem statement from above, here are some of the current open
Current SolutionA solution to the above is to split the code upload and registration flows. This makes Additionally it decouples the program upload step from registration. My TakeI'm a fan of splitting out the program upload flow from the registration flow. It makes The only changes required for this first step are:
This is all we really need in #536. The other things can be figured out in follow-up PRs. On the open questions, here are my thoughts: Charging a storage depositWe should continue to charge program uploaders a storage deposit to upload programs Program terminationI also believe we should allow contract termination. One concern here was around One solution here would be to add a reference counter ( The program would not be able to get terminated unless its reference count is zero. This We'd need to add some sort of Global registryI don't think we need to have this. It adds complexity and bias. We should instead be |
Next Steps
The text was updated successfully, but these errors were encountered: