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: store stake security for finalized bundles #108

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

mbreithecker
Copy link
Member

For every bundle finalised, KYVE will now also store the total amount of stake that voted for a given bundle and the total amount of stake which was present during the bundle finalisation.
These two properties are key values as they represent the security of the given bundle.

For off-chain analysis this data can already be obtained through the events. However, this will become relevant in the future, when one needs to access these values on-chain.

@mbreithecker mbreithecker marked this pull request as ready for review July 11, 2023 15:04
@mbreithecker mbreithecker added the backport/v1.3.x backport patches to v1.3.x branch label Jul 12, 2023
@mbreithecker mbreithecker merged commit c5183cf into main Jul 12, 2023
@mbreithecker mbreithecker deleted the feat/stake_security branch July 12, 2023 06:35
mergify bot pushed a commit that referenced this pull request Jul 12, 2023
mbreithecker added a commit that referenced this pull request Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v1.3.x backport patches to v1.3.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants