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

dApp staking v3 - storing reward per staked ASTR instead of the reward pool #1174

Open
Dinonard opened this issue Feb 13, 2024 · 0 comments
Open
Labels
project Issue is part of an ongoing project

Comments

@Dinonard
Copy link
Member

Description

To simplify off-chain calculations, we could store reward per staked ASTR value into the reward info, instead of the overall reward pool.

This would help since off-chain integrations would not need to worry about matching Rust/polkadot-sdk's rounding logic.

It's a minor improvement suggestion.

@Dinonard Dinonard added the project Issue is part of an ongoing project label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project Issue is part of an ongoing project
Projects
None yet
Development

No branches or pull requests

1 participant