Skip to content

Conversation

@akremstudy
Copy link
Contributor

Description

Related Issue

Fixes #

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • State Changes (please describe)"
  • Chain Changes (please describe):
  • Daemon Changes
  • Tests
  • Added Getter

Testing

Checklist

  • Code follows project style guidelines
  • I have added appropriate comments to my code
  • I have updated the documentation accordingly
  • I have added tests that prove my fix or feature works
  • go test ./... is passing locally
  • make e2e is passing locally

Copy link
Contributor

Choose a reason for hiding this comment

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

what do you think of adding that same LastValSetUpdateHeight.Set to the BeforeValidatorSlashed hook as well ? So that it recalculates if a delegation is slashed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah definitely should nice catch

@akremstudy akremstudy marked this pull request as ready for review February 10, 2026 20:48
@brendaloya brendaloya merged commit ed5cd57 into main Feb 10, 2026
38 checks passed
@brendaloya brendaloya deleted the optimize-ak branch February 10, 2026 23:06
github-actions bot pushed a commit that referenced this pull request Feb 10, 2026
* clear old reports from storage

* Fix tests

* Reduce the iteration that happens when recaculating stake during submitValue

* Add tests plus change some reporter cache logic

* add err handler

* fix edit location for config.toml timeout_commit default value

* Add upgrade handler

* upgrade handler for v6.1.2

* error handling, msg validation

* fix test and default commit timeout setting

* Trigger global stake recalc on validator slashing; fix RemoveSelector missing recalc flag

---------

Co-authored-by: danflo27 <florentinodc@outlook.com>
(cherry picked from commit ed5cd57)
brendaloya pushed a commit that referenced this pull request Feb 10, 2026
* clear old reports from storage

* Fix tests

* Reduce the iteration that happens when recaculating stake during submitValue

* Add tests plus change some reporter cache logic

* add err handler

* fix edit location for config.toml timeout_commit default value

* Add upgrade handler

* upgrade handler for v6.1.2

* error handling, msg validation

* fix test and default commit timeout setting

* Trigger global stake recalc on validator slashing; fix RemoveSelector missing recalc flag

---------


(cherry picked from commit ed5cd57)

Co-authored-by: akrem <71235284+akremstudy@users.noreply.github.com>
Co-authored-by: danflo27 <florentinodc@outlook.com>
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.

3 participants