Proto: new balance update origin for slashings at cycle ends
Context
Based on !10389 (merged).
In Oxford 2, transfers due to slashings will be applied at cycle ends. It may be difficult to link these balance updates to the denunciation operation.
This MR proposes to add to balance updates items a new origin delayed_operation
with a dedicated field delayed_operation_hash
that would contain the hash of the denunciation operation.
Do you think it is worth it?
Manually testing the MR
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rst
for the protocol and the environment,CHANGES.rst
at the root of the repository for everything else). -
Select suitable reviewers using the Reviewers
field below. -
Select as Assignee
the next person who should take action on that MR
Edited by Mehdi Bouaziz