@@ -13,6 +13,8 @@ option go_package = "github.com/persistenceOne/pstake-native/v6/x/ratesync/types
1313
1414// Msg defines the Msg service.
1515service Msg {
16+ option (cosmos.msg.v1.service ) = true ;
17+
1618 rpc CreateHostChain (MsgCreateHostChain ) returns (MsgCreateHostChainResponse );
1719 rpc UpdateHostChain (MsgUpdateHostChain ) returns (MsgUpdateHostChainResponse );
1820 rpc DeleteHostChain (MsgDeleteHostChain ) returns (MsgDeleteHostChainResponse );
@@ -23,20 +25,20 @@ message MsgCreateHostChain {
2325 option (cosmos.msg.v1.signer ) = "authority" ;
2426 option (amino.name ) = "pstake/ratesync/MsgCreateHostChain" ;
2527
26- string authority = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
28+ string authority = 1 [(cosmos_proto.scalar ) = "cosmos.AddressString" ];
2729 HostChain host_chain = 2
28- [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
30+ [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
2931}
3032
31- message MsgCreateHostChainResponse { uint64 i_d = 1 ; }
33+ message MsgCreateHostChainResponse {uint64 i_d = 1 ;}
3234
3335message MsgUpdateHostChain {
3436 option (cosmos.msg.v1.signer ) = "authority" ;
3537 option (amino.name ) = "pstake/ratesync/MsgUpdateHostChain" ;
3638
37- string authority = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
39+ string authority = 1 [(cosmos_proto.scalar ) = "cosmos.AddressString" ];
3840 HostChain host_chain = 2
39- [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
41+ [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
4042}
4143
4244message MsgUpdateHostChainResponse {}
@@ -45,7 +47,7 @@ message MsgDeleteHostChain {
4547 option (cosmos.msg.v1.signer ) = "authority" ;
4648 option (amino.name ) = "pstake/ratesync/MsgDeleteHostChain" ;
4749
48- string authority = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
50+ string authority = 1 [(cosmos_proto.scalar ) = "cosmos.AddressString" ];
4951 uint64 i_d = 2 ;
5052}
5153
@@ -55,9 +57,9 @@ message MsgUpdateParams {
5557 option (cosmos.msg.v1.signer ) = "authority" ;
5658 option (amino.name ) = "pstake/ratesync/MsgUpdateParams" ;
5759
58- string authority = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
60+ string authority = 1 [(cosmos_proto.scalar ) = "cosmos.AddressString" ];
5961 Params params = 2
60- [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
62+ [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
6163}
6264
6365message MsgUpdateParamsResponse {}
0 commit comments