Skip to content

Commit

Permalink
calibration: revert proto + protogen; re-add delegation protos from u…
Browse files Browse the repository at this point in the history
…ndel host
  • Loading branch information
riley-stride committed Oct 11, 2023
1 parent 4c42dfe commit e8bad99
Show file tree
Hide file tree
Showing 5 changed files with 500 additions and 631 deletions.
6 changes: 6 additions & 0 deletions proto/stride/stakeibc/callbacks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ message ReinvestCallback {
string host_zone_id = 3;
}

message UndelegateCallback {
string host_zone_id = 1;
repeated SplitDelegation split_delegations = 2;
repeated uint64 epoch_unbonding_record_ids = 3;
}

message RedemptionCallback {
string host_zone_id = 1;
repeated uint64 epoch_unbonding_record_ids = 2;
Expand Down
9 changes: 0 additions & 9 deletions proto/stride/stakeibc/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ service Msg {
returns (MsgRestoreInterchainAccountResponse);
rpc UpdateValidatorSharesExchRate(MsgUpdateValidatorSharesExchRate)
returns (MsgUpdateValidatorSharesExchRateResponse);
rpc CalibrateDelegation(MsgCalibrateDelegation)
returns (MsgCalibrateDelegationResponse);
rpc ClearBalance(MsgClearBalance) returns (MsgClearBalanceResponse);
rpc UpdateInnerRedemptionRateBounds(MsgUpdateInnerRedemptionRateBounds)
returns (MsgUpdateInnerRedemptionRateBoundsResponse);
Expand Down Expand Up @@ -172,10 +170,3 @@ message MsgUpdateValidatorSharesExchRate {
string valoper = 3;
}
message MsgUpdateValidatorSharesExchRateResponse {}

message MsgCalibrateDelegation {
string creator = 1;
string chain_id = 2;
string valoper = 3;
}
message MsgCalibrateDelegationResponse {}
41 changes: 0 additions & 41 deletions x/stakeibc/client/cli/tx_calibrate_delegation.go

This file was deleted.

Loading

0 comments on commit e8bad99

Please sign in to comment.