-
Notifications
You must be signed in to change notification settings - Fork 39
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
Playground Feature: Multiple contracts per account #21
Comments
Hey, Flow Surfer! Looking forward to work with you! :) |
Hey, we would like to work on this task! Our team github handles: Our hackerearth team profile: |
That's great news, @bartolomej ! |
Hello @MaxStalker I would like to participate for this task. As I am new to Flow and HackerEarth, I was experimenting over the past few days. I am now ready to participate. My github handle: soetop My progress so far ...
Target date to submit draft version is Oct 28 (Thursday) |
I have a question regarding contract deployment. Current way of handling contract redeployment is to clear all project states before adding the contract. This is not optimal/applicable for deploying multiple contracts under the same account. I am planning to change the logic a bit by removing the contract if a contract with same name already exist then adding the contract (instead of clearing all project states). In addition, I also noticed experimental contract update feature. Should I do that instead of the above logic of removing and adding? |
Welcome to the FlipFest, @soetop ! :) I would recommend to clear project state anyway, cause it might cause weird bugs, when storage could have resource with non-existing type. For experimental update - not recommended, since it won't call |
thanks @MaxStalker The progress is a bit slower than I was planning but I now have the first commit with things working. There are still loose ends that I will fix in my next commit that is planned for tomorrow. For your easy review, I have recorded a 1 minute screen record: https://youtu.be/Od1YxuHA0iA Commits: |
My follow-up question would be regarding how deployed contracts are managed with changes in contract codes as contracts are deployed with contract function names. The flow I am thinking is:
|
Great job, @soetop ! For the contract deployment - we can go the same way as we have right now. I.e. - always clear state on contract redeployment :) |
Thanks @MaxStalker for your helpful inputs. I am wrapping up to submit milestone #2 before the deadline. I have 3 questions as I am fixing loose ends and refactoring/cleaning code.
|
Hey @soetop ,
|
@soetop As for migration, we haven't included it in requirements, but we would appreciate if you include it in solution 🙇 |
thanks @MaxStalker and @kerrywei for clarifications.
However, no existing features were deprecated.
Migration could help with porting over old playground projects to the newer version. I would need more time for that. |
Good day @soetop, @bartolomej! Thanks so much for all your hardwork & participation. In order to finalize winners & prepare for prize payout, we'll need the following actions from your end. Please provide the following information by Nov 17, 2021, (in this GH Issue is fine): 1. Team Information
🎖IMPORTANT: We will only proceed with prize payouts once all members have confirmed with 👍 on the post. 2. Video Demo (optional)
We will be hosting Closing Ceremonies on November 23rd, 8AM PT where we'll having closing remarks from Dete & will be announcing the winners! I'll share the details here before Nov 17. |
@kimcodeashian Awesome! Here is our info. Team members info
|
Hey folks, We've received and reviewed over 82 submissions! What an amazing community on Flow! To commemorate all the hard work done, we have finalized winners and will be announcing them during our Closing Ceremony on Nov 23rd, 8AM PT. Be sure to join us - there may be some attendance prizes & a keynote from our CTO, Dete 😉! RSVP here so you don't miss out! See you then! |
@kimcodeashian Here is my info. Here is a demo video: https://youtu.be/PEB1A5GRAbA
|
Description (Problem Statement)
Flow developers use the playground to learn, experiment, and share Cadence code. The current playground model only supports a single account to have a single contract. We want to expand this feature to hold multiple contracts per account. This will require changes to the UI as well as the backend.
Experience Required
Minimum Feature Set (Acceptance Criteria)
Extension (Optional) Feature Set
Implement a variable number of accounts. The current number of accounts is limited to five but can be expanded to support fewer or more accounts as needed by the user.
Software Requirements
Milestone Requirements
Resources
The text was updated successfully, but these errors were encountered: