Skip to content

Commit

Permalink
update protos
Browse files Browse the repository at this point in the history
  • Loading branch information
TalDerei committed Mar 22, 2024
1 parent fa0433f commit f7de3ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions crates/core/transaction/src/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,12 @@ impl Action {
Action::PositionOpen(_) => 30,
Action::PositionClose(_) => 31,
Action::PositionWithdraw(_) => 32,
Action::PositionRewardClaim(_) => 34,
Action::Delegate(_) => 40,
Action::Undelegate(_) => 41,
Action::UndelegateClaim(_) => 42,
Action::DaoSpend(_) => 50,
Action::DaoOutput(_) => 51,
Action::DaoDeposit(_) => 52,
Action::CommunityPoolSpend(_) => 50,
Action::CommunityPoolOutput(_) => 51,
Action::CommunityPoolDeposit(_) => 52,
Action::Ics20Withdrawal(_) => 200,
}
}
Expand Down
9 changes: 4 additions & 5 deletions crates/core/transaction/src/plan/action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,16 @@ impl ActionPlan {
ActionPlan::ValidatorVote(_) => 20,
ActionPlan::DelegatorVote(_) => 21,
ActionPlan::ProposalDepositClaim(_) => 22,
ActionPlan::Withdrawal(_) => 23,
ActionPlan::PositionOpen(_) => 30,
ActionPlan::PositionClose(_) => 31,
ActionPlan::PositionWithdraw(_) => 32,
ActionPlan::PositionRewardClaim(_) => 34,
ActionPlan::Delegate(_) => 40,
ActionPlan::Undelegate(_) => 41,
ActionPlan::UndelegateClaim(_) => 42,
ActionPlan::DaoSpend(_) => 50,
ActionPlan::DaoOutput(_) => 51,
ActionPlan::DaoDeposit(_) => 52,
ActionPlan::CommunityPoolSpend(_) => 50,
ActionPlan::CommunityPoolOutput(_) => 51,
ActionPlan::CommunityPoolDeposit(_) => 52,
ActionPlan::Ics20Withdrawal(_) => 200,
}
}

Expand Down

0 comments on commit f7de3ab

Please sign in to comment.