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

feat: interface and data structures for Collator Power Pallet #53

Closed
wants to merge 12 commits into from

Conversation

th7nder
Copy link
Contributor

@th7nder th7nder commented May 28, 2024

Description

Take a look at the DESIGN.md file, it's all in there.

Important points for reviewers

This is first of many PRs of the implementation for #18 .
Here I wanted to give an overall idea, without tests, benchmarks and so on.
Basically DESIGN = ideas + interfaces + data structures.

@th7nder th7nder self-assigned this May 28, 2024
@th7nder th7nder linked an issue May 30, 2024 that may be closed by this pull request
@th7nder th7nder requested a review from aidan46 May 30, 2024 14:42
Copy link
Contributor

@serg-temchenko serg-temchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to revisit this section to rewind the logic and how it matches with logic defined here, in this pr. Plus take a look into the power actor and after that maybe discuss more the approach before the implementation. I think some my comments here should bright some light as well.

pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
Copy link
Member

@asmie asmie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a need to address general economic question about pledging, staking and slashing.

Then, who and when delegates the storage power should be more easily answered.

@@ -0,0 +1,97 @@
# Overall Power Pallet Flow

## Glossary
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are using mono repo for our work, the glossary could be made in a separate, higher-level document to keep terminology consistent across the project.

pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
pallets/collator-power/DESIGN.md Outdated Show resolved Hide resolved
@th7nder
Copy link
Contributor Author

th7nder commented Jun 13, 2024

This has been descoped because of the #61

@th7nder th7nder closed this Jun 13, 2024
@th7nder th7nder deleted the feat/18/collator-power-setup branch June 13, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collator Power Pallet Implementation
4 participants