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

Parameterize stake to weight conversion #599

Open
cam-schultz opened this issue Oct 14, 2024 · 0 comments
Open

Parameterize stake to weight conversion #599

cam-schultz opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@cam-schultz
Copy link
Contributor

Context and scope
The weight to value ratio is hardcoded at 1 weight per 1e12 units of value (e.g. ERC20 or native token base denominations). This hardcoded ratio assumes that validators added from sources other than PoSValidatorManager (e.g. a PoAValidatorManager that is migrated to PoSValidatorManager, or the initial validator set specified in the P-Chain ConvertSubnetTx) use weights that translate to reasonable asset amounts.

Instead, PoSValidatorManager should parameterize this relationship such that future validator set changes can use reasonable stake amounts regardless of the initial validator weights.

@cam-schultz cam-schultz added the enhancement New feature or request label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog 🗄️
Development

No branches or pull requests

2 participants