Skip to content

Conversation

ypatil12
Copy link
Collaborator

@ypatil12 ypatil12 commented Jul 15, 2025

Motivation:

Overloading stake is causing confusion for integrations. Let's use stake weight everywhere. We also want to clarify structs/add clarity to interfaces

Modifications:

  • Rename stake to stake weight everywhere for clarity
  • Update all interface natspec for clarity
  • getTotalStakes -> getTotalStakeWeights

Result:

Clearer natspec/docs

@ypatil12 ypatil12 changed the title chore: stake -> stake weight chore: clean up natspec round 1 Jul 15, 2025
Copy link
Collaborator

@nadir-akhtar nadir-akhtar left a comment

Choose a reason for hiding this comment

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

Tiny comment, otherwise LGTM

@nadir-akhtar nadir-akhtar merged commit 8768331 into main Jul 15, 2025
14 checks passed
@nadir-akhtar nadir-akhtar deleted the chore/natspec branch July 15, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants