Skip to content

Commit

Permalink
feat(bolt-boost): added action to delegation api
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Oct 11, 2024
1 parent 482b850 commit 345c109
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bolt-boost/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand All @@ -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,
}
Expand Down

0 comments on commit 345c109

Please sign in to comment.