Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

nomination-pools: Add metadata for pools #10862

Closed
emostov opened this issue Feb 15, 2022 · 1 comment
Closed

nomination-pools: Add metadata for pools #10862

emostov opened this issue Feb 15, 2022 · 1 comment
Labels
Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase. Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.

Comments

@emostov
Copy link
Contributor

emostov commented Feb 15, 2022

Currently, there is no good way for a pool to have some identity or general metadata associated with it for UIs to display. One could set a sub identity for the pools account, but there is nothing preventing a random user from sniping the pool account as its sub identity.

The delegator <=> pool relationship is similar to the nominator <=> validator relationship in that the delegator needs to gauge the quality and goals of the pool admin. Metadata would likely include things like emails, riot handles, and links to web pages where the delegator can learn more about the pool admin.

The metadata can be stored as a byte vec that represents UTF8 encoded characters and can be set by pool admin. The pool creation bond should take into account the cost of storing such metadata, even if the metadata is intended to be added after calling the pool create extrinsic; this will keep the pool creation bond logic simpler when destroying a pool.

Should wait until #10694 is merged to start working on this.

@emostov emostov added Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be. Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase. labels Feb 15, 2022
@emostov emostov mentioned this issue Feb 15, 2022
4 tasks
@kianenigma
Copy link
Contributor

This seem to already exist.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z2-medium Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase. Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Projects
Status: Done
Development

No branches or pull requests

2 participants