From 345c10904f0570e060088e344ea9ced22b94c915 Mon Sep 17 00:00:00 2001 From: nicolas <48695862+merklefruit@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:52:43 +0200 Subject: [PATCH] feat(bolt-boost): added action to delegation api --- bolt-boost/src/types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bolt-boost/src/types.rs b/bolt-boost/src/types.rs index edb44dbe7..8a5b355d6 100644 --- a/bolt-boost/src/types.rs +++ b/bolt-boost/src/types.rs @@ -155,6 +155,7 @@ pub struct SignedDelegation { #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode)] pub struct DelegationMessage { + action: u8, pub validator_pubkey: BlsPublicKey, pub delegatee_pubkey: BlsPublicKey, } @@ -167,6 +168,7 @@ pub struct SignedRevocation { #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode)] pub struct RevocationMessage { + action: u8, pub validator_pubkey: BlsPublicKey, pub delegatee_pubkey: BlsPublicKey, }