Skip to content

feat: slash providers using slash amount #803

Merged
shaspitz merged 12 commits intomainfrom
use-slash-amt
Sep 25, 2025
Merged

feat: slash providers using slash amount #803
shaspitz merged 12 commits intomainfrom
use-slash-amt

Conversation

@shaspitz
Copy link
Copy Markdown
Contributor

@shaspitz shaspitz commented Sep 24, 2025

Updates provider registry to slash providers solely based on slash amount set in the commitment. Subsequent PR to mev-commit bidder node will set slash amount to bid amount as default, if slash amount is not specified.

@shaspitz shaspitz marked this pull request as ready for review September 24, 2025 20:39
* @param bidder The address to transfer the slashed funds to.
* @param residualBidPercentAfterDecay The residual bid percent after decay.
*/
function slash(
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Most important change in this PR is here

Copy link
Copy Markdown
Contributor

@chrmatt chrmatt left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@shaspitz shaspitz merged commit cef4fb6 into main Sep 25, 2025
8 of 9 checks passed
@shaspitz shaspitz deleted the use-slash-amt branch September 25, 2025 05:19
rose2221 pushed a commit that referenced this pull request Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants