[#702] Implement key revealing via RPC
Description
In Staker DAO we need key revealing made solely via RPC.
This MR implements it.
Along the way, I had to
- Add a
PreviouslyRevealedKey
error to RPC - Refactor types with operation input. Previously we carried
Either OriginationData TransferData
, but nowEither
is not enough.
Related issue(s)
Resolves #702 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Konstantin Ivanov