Skip to content

[Backport release/v6.x] Optimize/Correct the batch submit function - #1070

Merged
danflo27 merged 1 commit into
release/v6.xfrom
backport-1064-to-release/v6.x
Aug 19, 2026
Merged

[Backport release/v6.x] Optimize/Correct the batch submit function#1070
danflo27 merged 1 commit into
release/v6.xfrom
backport-1064-to-release/v6.x

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Backport 69ffcbd from #1064.

* extended the more efficient reporter power caching and not writing unneeded data for every single report in MsgBatchSubmitValue. Made the flow the same as it is in MsgSubmitValue

* fixed tests and made lint fixes

* made lint fixes

* made batch submit return as error if all reports fail. ReporterStake is now called on the first verified valid report instead of just using the first report. Removed unused function due to this refactor

---------

Co-authored-by: Dan F <florentinodc@outlook.com>
(cherry picked from commit 69ffcbd)
@danflo27
danflo27 merged commit 4294071 into release/v6.x Aug 19, 2026
@danflo27
danflo27 deleted the backport-1064-to-release/v6.x branch August 19, 2026 17:54
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.

2 participants