-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update polkadot.js UI for coretime #10285
Comments
It does make sense |
Hi, is this issue open for outside contributors? I am really interested in contributing to this issue. |
I'm sure outside contributions would be very welcome, I'd advise maybe tackling this issue in smaller chunks to keep the core devs in the loop of where it's up to. @TarikGul any input? |
I totally agree contributions are very welcome, that being said as you mentioned it would, and should be in small chunks. Until finished it's probably best if it sits within some experimental tag, but also would require guidance from us as to what should be the order of operations in terms of tasks, and how it should be designed. |
@chungquantin Yea I will post a set of sub-tasks soon that can get done with the following issue. For now I am going to get it started by removing the Parathreads tab from the UI as requested from the core-team then we can work from there :) Thanks for you patience. |
For starters I am thinking we should instead have a @seadanda Can you share with me a link to the new logic, and storage calls for parachains? Also what do you think about the idea above? |
Having an experimental tab sounds good. The other tabs are necessary until all chains upgrade to coretime. Rococo and Westend don't need them any more, Kusama should be upgraded soon, but Polkadot will need them for the next few months. The storage calls are split between the Relay in the To list all parachains currently on a bulk core you need to hit the The sale structure and some other characteristics are defined in the I hope this helps. It's a complex change, so there's no real way to fully explain it in a comment, I think there's a lot more to be gained by poking around in the state of those three pallets:
But I've tried to provide enough info for a start to be made. I'm not sure I know what you mean about the new logic. Are you talking about the code for the extrinsics or some docs for something in particular? |
@seadanda Thanks so much for the explanation its super helpful.
Yea for this i mostly meant where the code for the extrinsics and storage exists. @bee344 is going to help out with the so we can prioritize it and help make progress. |
@seadanda @TarikGul @IkerAlus So the current workplan is to split this into a few PRs, since it's a big task and to gather some feedback on the design and UX along the way. A new tab called
At first, the That's the plan for now, but it'll surely evolve as we get deeper into development. |
@bee344 I agree with the approach at high level. Let's focus on the overview tab first. Afterwards, I think most of the |
@seadanda one question regarding |
I am not a professional developer but I think this feature should be implemented. That demonstrates the unique features of the network. |
I'm submitting a ...
Feature request
What is the current behavior and expected behavior?
The current UI does not have dedicated views for coretime. As a change in network architecture this should be reflected in the UI.
More information below motivation.
What is the motivation for changing the behavior?
Coretime has been deployed on Rococo and Westend, and will soon be deployed on Kusama with Polkadot following in a few months. This is a permanent change to the network architecture and the way parachains obtain blockspace. The crowdloan/auction mechanism will no longer be used.
Currently the dedicated tabs for Parachains do not reflect the new scheme and the only way to see parachains on cores or the coretime sales status is to poke around in the chain state on the coretime and relay chains.
More information
Currently in the Network->Parachains tab there are four tabs: Overview, Parathreads, Auctions, Crowdloans.
I would suggest as a starting point that the auctions and crowdloans tabs be removed, and the parathreads tab be changed to a parachains tab. (parathreads is no longer a relevant term). The following tabs might belong on the relay chains or coretime chains.
A rough structure could then be:
Overview
Parachains
Registered parachains showing:
Bulk sales
More details specifically about bulk coretime sale
sale_info
e.g. number of cores for sale, sold and the prices/last priceOn-demand
It's a bit harder to think of what to show here that isn't already on the overview
Additional functionality for the coretime chain
Adding UIs for the following most-used extrinsics at a minimum would be useful:
Core acquisition
broker.purchase
- buy a region for a maximum of the specified pricebroker.assign
- assign a task to a core for a region that the origin ownsbroker.renew
- renew an existing core for a task which qualifies (qualifying tasks listed inbroker.allowedRenewals
)Region manipulation
broker.partition
- split an owned region in two around a point in timebroker.interlace
- split a region in two in a "you go I go" waybroker.transfer
- transfer a region to another ownerOn-demand pool
broker.pool
- put a region in the on-demand poolbroker.claimRevenue
- claim revenue from on-demand pool after pooling your region of a coreOn-demand acquisition
broker.purchaseCredit
- buy coretime credits on the relay chainStorage management (free from any origin)
These could be listed from the chain state when past the point where they can be dropped and dropped in batches or one by one.
broker.dropContribution
broker.dropHistory
broker.dropRegion
broker.dropRenewal
This is just a starting point and by no means the best layout or content that we could have. All feedback and ideas are welcome!
The text was updated successfully, but these errors were encountered: