-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Faulty Tolly <@faulttolerance.net>
- Loading branch information
1 parent
3fe31b2
commit c620e0b
Showing
20 changed files
with
2,196 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
syntax = "proto3"; | ||
package rollapp.timeupgrade.types; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/upgrade/v1beta1/tx.proto"; | ||
import "cosmos/msg/v1/msg.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
import "google/protobuf/any.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/timeupgrade/types"; | ||
|
||
// Msg defines the Msg service. | ||
service Msg { | ||
rpc SoftwareUpgrade(MsgSoftwareUpgrade) returns (MsgSoftwareUpgradeResponse); | ||
rpc CancelUpgrade(MsgCancelUpgrade) returns (MsgCancelUpgradeResponse); | ||
} | ||
|
||
message MsgSoftwareUpgrade { | ||
// original_upgrade is the original software upgrade message. | ||
cosmos.upgrade.v1beta1.MsgSoftwareUpgrade original_upgrade = 1; | ||
// upgrade_time is the time at which the upgrade is scheduled. | ||
google.protobuf.Timestamp upgrade_time = 2; | ||
} | ||
|
||
message MsgSoftwareUpgradeResponse {} | ||
|
||
message MsgCancelUpgrade { | ||
// authority is the address of the governance account. | ||
string authority = 1; | ||
} | ||
|
||
message MsgCancelUpgradeResponse {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.