Skip to content

Commit

Permalink
chore: Update action_kind.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tizoc committed Mar 29, 2024
1 parent 564c7ed commit ff2137c
Showing 1 changed file with 76 additions and 16 deletions.
92 changes: 76 additions & 16 deletions node/src/action_kind.rs
Expand Up @@ -355,13 +355,28 @@ pub enum ActionKind {
TransitionFrontierSyncLedgerStakingSuccess,
TransitionFrontierSyncLedgerInit,
TransitionFrontierSyncLedgerSuccess,
TransitionFrontierSyncLedgerSnarkedChildAccountsAccepted,
TransitionFrontierSyncLedgerSnarkedChildAccountsReceived,
TransitionFrontierSyncLedgerSnarkedChildAccountsRejected,
TransitionFrontierSyncLedgerSnarkedChildHashesAccepted,
TransitionFrontierSyncLedgerSnarkedChildHashesReceived,
TransitionFrontierSyncLedgerSnarkedPeerQueryError,
TransitionFrontierSyncLedgerSnarkedPeerQueryInit,
TransitionFrontierSyncLedgerSnarkedPeerQueryPending,
TransitionFrontierSyncLedgerSnarkedPeerQueryRetry,
TransitionFrontierSyncLedgerSnarkedPeerQuerySuccess,
TransitionFrontierSyncLedgerSnarkedChildHashesRejected,
TransitionFrontierSyncLedgerSnarkedMerkleTreeSyncPending,
TransitionFrontierSyncLedgerSnarkedMerkleTreeSyncSuccess,
TransitionFrontierSyncLedgerSnarkedNumAccountsAccepted,
TransitionFrontierSyncLedgerSnarkedNumAccountsReceived,
TransitionFrontierSyncLedgerSnarkedNumAccountsRejected,
TransitionFrontierSyncLedgerSnarkedNumAccountsSuccess,
TransitionFrontierSyncLedgerSnarkedPeerQueryAddressError,
TransitionFrontierSyncLedgerSnarkedPeerQueryAddressInit,
TransitionFrontierSyncLedgerSnarkedPeerQueryAddressPending,
TransitionFrontierSyncLedgerSnarkedPeerQueryAddressRetry,
TransitionFrontierSyncLedgerSnarkedPeerQueryAddressSuccess,
TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsError,
TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsInit,
TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsPending,
TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsRetry,
TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsSuccess,
TransitionFrontierSyncLedgerSnarkedPeersQuery,
TransitionFrontierSyncLedgerSnarkedPending,
TransitionFrontierSyncLedgerSnarkedSuccess,
Expand Down Expand Up @@ -392,7 +407,7 @@ pub enum ActionKind {
}

impl ActionKind {
pub const COUNT: u16 = 325;
pub const COUNT: u16 = 340;
}

impl std::fmt::Display for ActionKind {
Expand Down Expand Up @@ -1155,27 +1170,72 @@ impl ActionKindGet for TransitionFrontierSyncLedgerSnarkedAction {
match self {
Self::Pending => ActionKind::TransitionFrontierSyncLedgerSnarkedPending,
Self::PeersQuery => ActionKind::TransitionFrontierSyncLedgerSnarkedPeersQuery,
Self::PeerQueryInit { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryInit
Self::PeerQueryNumAccountsInit { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsInit
}
Self::PeerQueryPending { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryPending
Self::PeerQueryNumAccountsPending { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsPending
}
Self::PeerQueryRetry { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryRetry
Self::PeerQueryNumAccountsRetry { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsRetry
}
Self::PeerQueryError { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryError
Self::PeerQueryNumAccountsError { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsError
}
Self::PeerQuerySuccess { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQuerySuccess
Self::PeerQueryNumAccountsSuccess { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryNumAccountsSuccess
}
Self::NumAccountsReceived { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedNumAccountsReceived
}
Self::NumAccountsAccepted { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedNumAccountsAccepted
}
Self::NumAccountsRejected { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedNumAccountsRejected
}
Self::NumAccountsSuccess { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedNumAccountsSuccess
}
Self::MerkleTreeSyncPending => {
ActionKind::TransitionFrontierSyncLedgerSnarkedMerkleTreeSyncPending
}
Self::PeerQueryAddressInit { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryAddressInit
}
Self::PeerQueryAddressPending { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryAddressPending
}
Self::PeerQueryAddressRetry { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryAddressRetry
}
Self::PeerQueryAddressError { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryAddressError
}
Self::PeerQueryAddressSuccess { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedPeerQueryAddressSuccess
}
Self::ChildHashesReceived { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildHashesReceived
}
Self::ChildHashesAccepted { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildHashesAccepted
}
Self::ChildHashesRejected { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildHashesRejected
}
Self::ChildAccountsReceived { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildAccountsReceived
}
Self::ChildAccountsAccepted { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildAccountsAccepted
}
Self::ChildAccountsRejected { .. } => {
ActionKind::TransitionFrontierSyncLedgerSnarkedChildAccountsRejected
}
Self::MerkleTreeSyncSuccess => {
ActionKind::TransitionFrontierSyncLedgerSnarkedMerkleTreeSyncSuccess
}
Self::Success => ActionKind::TransitionFrontierSyncLedgerSnarkedSuccess,
}
}
Expand Down

0 comments on commit ff2137c

Please sign in to comment.