@@ -257,47 +257,22 @@ impl DkgIntent {
257257 }
258258 }
259259}
260- #[ allow( clippy:: derive_partial_eq_without_eq) ]
261- #[ derive( Clone , PartialEq , :: prost:: Message ) ]
262- pub struct PricePair {
263- #[ prost( string, tag = "1" ) ]
264- pub pair : :: prost:: alloc:: string:: String ,
265- #[ prost( int32, tag = "2" ) ]
266- pub decimals : i32 ,
267- #[ prost( string, tag = "3" ) ]
268- pub interval : :: prost:: alloc:: string:: String ,
269- }
270- impl :: prost:: Name for PricePair {
271- const NAME : & ' static str = "PricePair" ;
272- const PACKAGE : & ' static str = "side.dlc" ;
273- fn full_name ( ) -> :: prost:: alloc:: string:: String {
274- :: prost:: alloc:: format!( "side.dlc.{}" , Self :: NAME )
275- }
276- }
277260/// Params defines the parameters for the module.
278261#[ allow( clippy:: derive_partial_eq_without_eq) ]
279262#[ derive( Clone , PartialEq , :: prost:: Message ) ]
280263pub struct Params {
281264 #[ prost( uint32, tag = "1" ) ]
282- pub price_event_nonce_queue_size : u32 ,
283- #[ prost( message, repeated, tag = "2" ) ]
284- pub price_pairs : :: prost:: alloc:: vec:: Vec < PricePair > ,
285- #[ prost( uint32, tag = "3" ) ]
286- pub date_event_nonce_queue_size : u32 ,
287- #[ prost( message, optional, tag = "4" ) ]
288- pub date_interval : :: core:: option:: Option < :: tendermint_proto:: google:: protobuf:: Duration > ,
289- #[ prost( uint32, tag = "5" ) ]
290- pub lending_event_nonce_queue_size : u32 ,
291- #[ prost( string, repeated, tag = "6" ) ]
265+ pub nonce_queue_size : u32 ,
266+ #[ prost( uint32, tag = "2" ) ]
267+ pub nonce_generation_batch_size : u32 ,
268+ #[ prost( int64, tag = "3" ) ]
269+ pub nonce_generation_interval : i64 ,
270+ #[ prost( string, repeated, tag = "4" ) ]
292271 pub allowed_oracle_participants : :: prost:: alloc:: vec:: Vec < :: prost:: alloc:: string:: String > ,
293- #[ prost( uint32, tag = "7 " ) ]
272+ #[ prost( uint32, tag = "5 " ) ]
294273 pub oracle_participant_num : u32 ,
295- #[ prost( uint32, tag = "8 " ) ]
274+ #[ prost( uint32, tag = "6 " ) ]
296275 pub oracle_participant_threshold : u32 ,
297- #[ prost( uint32, tag = "9" ) ]
298- pub nonce_generation_batch_size : u32 ,
299- #[ prost( int64, tag = "10" ) ]
300- pub nonce_generation_interval : i64 ,
301276}
302277impl :: prost:: Name for Params {
303278 const NAME : & ' static str = "Params" ;
0 commit comments