@@ -13,14 +13,17 @@ pub struct EventCreateInterchainSecurityModule {
1313 /// latest state
1414 #[ prost( string, tag="3" ) ]
1515 pub state : :: prost:: alloc:: string:: String ,
16- /// the sp1 groth16 verifier key (hex-encoded)
16+ /// merkle tree address in bytes32 format
1717 #[ prost( string, tag="4" ) ]
18+ pub merkle_tree_address : :: prost:: alloc:: string:: String ,
19+ /// the sp1 groth16 verifier key (hex-encoded)
20+ #[ prost( string, tag="5" ) ]
1821 pub groth16_vkey : :: prost:: alloc:: string:: String ,
1922 /// hash-based commitment to the verifier key used for state transition (hex-encoded)
20- #[ prost( string, tag="5 " ) ]
23+ #[ prost( string, tag="6 " ) ]
2124 pub state_transition_vkey : :: prost:: alloc:: string:: String ,
2225 /// hash-based commitment to the verifier key used for state membership (hex-encoded)
23- #[ prost( string, tag="6 " ) ]
26+ #[ prost( string, tag="7 " ) ]
2427 pub state_membership_vkey : :: prost:: alloc:: string:: String ,
2528}
2629/// EventUpdateInterchainSecurityModule defines the event type emitted when updating a InterchainSecurityModule.
@@ -58,37 +61,31 @@ pub struct InterchainSecurityModule {
5861 /// the owner or creator of the ism
5962 #[ prost( string, tag="2" ) ]
6063 pub owner : :: prost:: alloc:: string:: String ,
61- /// current state
64+ /// current state
6265 #[ prost( bytes="vec" , tag="3" ) ]
6366 pub state : :: prost:: alloc:: vec:: Vec < u8 > ,
64- /// the sp1 groth16 verifier key
67+ /// merkle tree address in bytes32 format
6568 #[ prost( bytes="vec" , tag="4" ) ]
69+ pub merkle_tree_address : :: prost:: alloc:: vec:: Vec < u8 > ,
70+ /// the sp1 groth16 verifier key
71+ #[ prost( bytes="vec" , tag="5" ) ]
6672 pub groth16_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
6773 /// hash-based commitment to the verifier key used for state transition
68- #[ prost( bytes="vec" , tag="5 " ) ]
74+ #[ prost( bytes="vec" , tag="6 " ) ]
6975 pub state_transition_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
7076 /// hash-based commitment to the verifier key used for state membership
71- #[ prost( bytes="vec" , tag="6 " ) ]
77+ #[ prost( bytes="vec" , tag="7 " ) ]
7278 pub state_membership_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
7379}
74- /// Params defines the zk ism module parameters.
75- #[ allow( clippy:: derive_partial_eq_without_eq) ]
76- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
77- pub struct Params {
78- #[ prost( uint32, tag="1" ) ]
79- pub max_header_hashes : u32 ,
80- }
8180/// GenesisState defines the zkism module's genesis state.
8281#[ allow( clippy:: derive_partial_eq_without_eq) ]
8382#[ derive( Clone , PartialEq , :: prost:: Message ) ]
8483pub struct GenesisState {
8584 /// list of zk execution isms.
85+ ///
86+ /// TODO: add messages to genesis state
8687 #[ prost( message, repeated, tag="1" ) ]
8788 pub isms : :: prost:: alloc:: vec:: Vec < InterchainSecurityModule > ,
88- /// TODO: add messages to genesis state
89- /// params is the module parameters.
90- #[ prost( message, optional, tag="2" ) ]
91- pub params : :: core:: option:: Option < Params > ,
9289}
9390/// QueryIsmRequest is the request type for the Ism rpc method.
9491#[ allow( clippy:: derive_partial_eq_without_eq) ]
@@ -123,19 +120,6 @@ pub struct QueryIsmsResponse {
123120 #[ prost( message, optional, tag="2" ) ]
124121 pub pagination : :: core:: option:: Option < super :: super :: super :: cosmos:: base:: query:: v1beta1:: PageResponse > ,
125122}
126- /// QueryParamsRequest is the request type for the Params rpc method.
127- #[ allow( clippy:: derive_partial_eq_without_eq) ]
128- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
129- pub struct QueryParamsRequest {
130- }
131- /// QueryParamsResponse is the response type for the Params rpc method.
132- #[ allow( clippy:: derive_partial_eq_without_eq) ]
133- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
134- pub struct QueryParamsResponse {
135- /// params contains the module parameters
136- #[ prost( message, optional, tag="1" ) ]
137- pub params : :: core:: option:: Option < Params > ,
138- }
139123/// MsgCreateInterchainSecurityModule is the request type for CreateInterchainSecurityModule.
140124#[ allow( clippy:: derive_partial_eq_without_eq) ]
141125#[ derive( Clone , PartialEq , :: prost:: Message ) ]
@@ -146,14 +130,17 @@ pub struct MsgCreateInterchainSecurityModule {
146130 /// initial trusted state
147131 #[ prost( bytes="vec" , tag="2" ) ]
148132 pub state : :: prost:: alloc:: vec:: Vec < u8 > ,
149- /// the sp1 groth16 verifier key
133+ /// merkle tree address in byte32 format
150134 #[ prost( bytes="vec" , tag="3" ) ]
135+ pub merkle_tree_address : :: prost:: alloc:: vec:: Vec < u8 > ,
136+ /// the sp1 groth16 verifier key
137+ #[ prost( bytes="vec" , tag="4" ) ]
151138 pub groth16_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
152139 /// hash-based commitment to the verifier key used for state transition
153- #[ prost( bytes="vec" , tag="4 " ) ]
140+ #[ prost( bytes="vec" , tag="5 " ) ]
154141 pub state_transition_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
155142 /// hash-based commitment to the verifier key used for state membership
156- #[ prost( bytes="vec" , tag="5 " ) ]
143+ #[ prost( bytes="vec" , tag="6 " ) ]
157144 pub state_membership_vkey : :: prost:: alloc:: vec:: Vec < u8 > ,
158145}
159146/// MsgCreateInterchainSecurityModuleResponse is the response type for CreateInterchainSecurityModule.
@@ -213,23 +200,5 @@ pub struct MsgSubmitMessages {
213200#[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
214201pub struct MsgSubmitMessagesResponse {
215202}
216- /// MsgUpdateParams is the request type for UpdateParams.
217- #[ allow( clippy:: derive_partial_eq_without_eq) ]
218- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
219- pub struct MsgUpdateParams {
220- /// authority is the address that controls the module (defaults to x/gov unless overwritten).
221- #[ prost( string, tag="1" ) ]
222- pub authority : :: prost:: alloc:: string:: String ,
223- /// params defines the x/zkism parameters to update.
224- ///
225- /// NOTE: All parameters must be supplied.
226- #[ prost( message, optional, tag="2" ) ]
227- pub params : :: core:: option:: Option < Params > ,
228- }
229- /// MsgUpdateParamsResponse defines the response type for UpdateParams.
230- #[ allow( clippy:: derive_partial_eq_without_eq) ]
231- #[ derive( Clone , Copy , PartialEq , :: prost:: Message ) ]
232- pub struct MsgUpdateParamsResponse {
233- }
234203include ! ( "celestia.zkism.v1.tonic.rs" ) ;
235204// @@protoc_insertion_point(module)
0 commit comments