@@ -458,7 +458,7 @@ impl serde::Serialize for DkgCompletionRequest {
458458 if !self . vaults . is_empty ( ) {
459459 len += 1 ;
460460 }
461- if !self . consensus_address . is_empty ( ) {
461+ if !self . consensus_pubkey . is_empty ( ) {
462462 len += 1 ;
463463 }
464464 if !self . signature . is_empty ( ) {
@@ -477,8 +477,8 @@ impl serde::Serialize for DkgCompletionRequest {
477477 if !self . vaults . is_empty ( ) {
478478 struct_ser. serialize_field ( "vaults" , & self . vaults ) ?;
479479 }
480- if !self . consensus_address . is_empty ( ) {
481- struct_ser. serialize_field ( "consensusAddress " , & self . consensus_address ) ?;
480+ if !self . consensus_pubkey . is_empty ( ) {
481+ struct_ser. serialize_field ( "consensusPubkey " , & self . consensus_pubkey ) ?;
482482 }
483483 if !self . signature . is_empty ( ) {
484484 struct_ser. serialize_field ( "signature" , & self . signature ) ?;
@@ -497,8 +497,8 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
497497 "id" ,
498498 "sender" ,
499499 "vaults" ,
500- "consensus_address " ,
501- "consensusAddress " ,
500+ "consensus_pubkey " ,
501+ "consensusPubkey " ,
502502 "signature" ,
503503 ] ;
504504
@@ -507,7 +507,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
507507 Id ,
508508 Sender ,
509509 Vaults ,
510- ConsensusAddress ,
510+ ConsensusPubkey ,
511511 Signature ,
512512 }
513513 #[ cfg( feature = "serde" ) ]
@@ -537,8 +537,8 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
537537 "id" => Ok ( GeneratedField :: Id ) ,
538538 "sender" => Ok ( GeneratedField :: Sender ) ,
539539 "vaults" => Ok ( GeneratedField :: Vaults ) ,
540- "consensusAddress " | "consensus_address " => {
541- Ok ( GeneratedField :: ConsensusAddress )
540+ "consensusPubkey " | "consensus_pubkey " => {
541+ Ok ( GeneratedField :: ConsensusPubkey )
542542 }
543543 "signature" => Ok ( GeneratedField :: Signature ) ,
544544 _ => Err ( serde:: de:: Error :: unknown_field ( value, FIELDS ) ) ,
@@ -566,7 +566,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
566566 let mut id__ = None ;
567567 let mut sender__ = None ;
568568 let mut vaults__ = None ;
569- let mut consensus_address__ = None ;
569+ let mut consensus_pubkey__ = None ;
570570 let mut signature__ = None ;
571571 while let Some ( k) = map_. next_key ( ) ? {
572572 match k {
@@ -591,11 +591,11 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
591591 }
592592 vaults__ = Some ( map_. next_value ( ) ?) ;
593593 }
594- GeneratedField :: ConsensusAddress => {
595- if consensus_address__ . is_some ( ) {
596- return Err ( serde:: de:: Error :: duplicate_field ( "consensusAddress " ) ) ;
594+ GeneratedField :: ConsensusPubkey => {
595+ if consensus_pubkey__ . is_some ( ) {
596+ return Err ( serde:: de:: Error :: duplicate_field ( "consensusPubkey " ) ) ;
597597 }
598- consensus_address__ = Some ( map_. next_value ( ) ?) ;
598+ consensus_pubkey__ = Some ( map_. next_value ( ) ?) ;
599599 }
600600 GeneratedField :: Signature => {
601601 if signature__. is_some ( ) {
@@ -609,7 +609,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
609609 id : id__. unwrap_or_default ( ) ,
610610 sender : sender__. unwrap_or_default ( ) ,
611611 vaults : vaults__. unwrap_or_default ( ) ,
612- consensus_address : consensus_address__ . unwrap_or_default ( ) ,
612+ consensus_pubkey : consensus_pubkey__ . unwrap_or_default ( ) ,
613613 signature : signature__. unwrap_or_default ( ) ,
614614 } )
615615 }
@@ -1492,7 +1492,7 @@ impl serde::Serialize for MsgCompleteDkg {
14921492 if !self . vaults . is_empty ( ) {
14931493 len += 1 ;
14941494 }
1495- if !self . consensus_address . is_empty ( ) {
1495+ if !self . consensus_pubkey . is_empty ( ) {
14961496 len += 1 ;
14971497 }
14981498 if !self . signature . is_empty ( ) {
@@ -1510,8 +1510,8 @@ impl serde::Serialize for MsgCompleteDkg {
15101510 if !self . vaults . is_empty ( ) {
15111511 struct_ser. serialize_field ( "vaults" , & self . vaults ) ?;
15121512 }
1513- if !self . consensus_address . is_empty ( ) {
1514- struct_ser. serialize_field ( "consensusAddress " , & self . consensus_address ) ?;
1513+ if !self . consensus_pubkey . is_empty ( ) {
1514+ struct_ser. serialize_field ( "consensusPubkey " , & self . consensus_pubkey ) ?;
15151515 }
15161516 if !self . signature . is_empty ( ) {
15171517 struct_ser. serialize_field ( "signature" , & self . signature ) ?;
@@ -1530,8 +1530,8 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
15301530 "sender" ,
15311531 "id" ,
15321532 "vaults" ,
1533- "consensus_address " ,
1534- "consensusAddress " ,
1533+ "consensus_pubkey " ,
1534+ "consensusPubkey " ,
15351535 "signature" ,
15361536 ] ;
15371537
@@ -1540,7 +1540,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
15401540 Sender ,
15411541 Id ,
15421542 Vaults ,
1543- ConsensusAddress ,
1543+ ConsensusPubkey ,
15441544 Signature ,
15451545 }
15461546 #[ cfg( feature = "serde" ) ]
@@ -1570,8 +1570,8 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
15701570 "sender" => Ok ( GeneratedField :: Sender ) ,
15711571 "id" => Ok ( GeneratedField :: Id ) ,
15721572 "vaults" => Ok ( GeneratedField :: Vaults ) ,
1573- "consensusAddress " | "consensus_address " => {
1574- Ok ( GeneratedField :: ConsensusAddress )
1573+ "consensusPubkey " | "consensus_pubkey " => {
1574+ Ok ( GeneratedField :: ConsensusPubkey )
15751575 }
15761576 "signature" => Ok ( GeneratedField :: Signature ) ,
15771577 _ => Err ( serde:: de:: Error :: unknown_field ( value, FIELDS ) ) ,
@@ -1596,7 +1596,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
15961596 let mut sender__ = None ;
15971597 let mut id__ = None ;
15981598 let mut vaults__ = None ;
1599- let mut consensus_address__ = None ;
1599+ let mut consensus_pubkey__ = None ;
16001600 let mut signature__ = None ;
16011601 while let Some ( k) = map_. next_key ( ) ? {
16021602 match k {
@@ -1621,11 +1621,11 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
16211621 }
16221622 vaults__ = Some ( map_. next_value ( ) ?) ;
16231623 }
1624- GeneratedField :: ConsensusAddress => {
1625- if consensus_address__ . is_some ( ) {
1626- return Err ( serde:: de:: Error :: duplicate_field ( "consensusAddress " ) ) ;
1624+ GeneratedField :: ConsensusPubkey => {
1625+ if consensus_pubkey__ . is_some ( ) {
1626+ return Err ( serde:: de:: Error :: duplicate_field ( "consensusPubkey " ) ) ;
16271627 }
1628- consensus_address__ = Some ( map_. next_value ( ) ?) ;
1628+ consensus_pubkey__ = Some ( map_. next_value ( ) ?) ;
16291629 }
16301630 GeneratedField :: Signature => {
16311631 if signature__. is_some ( ) {
@@ -1639,7 +1639,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
16391639 sender : sender__. unwrap_or_default ( ) ,
16401640 id : id__. unwrap_or_default ( ) ,
16411641 vaults : vaults__. unwrap_or_default ( ) ,
1642- consensus_address : consensus_address__ . unwrap_or_default ( ) ,
1642+ consensus_pubkey : consensus_pubkey__ . unwrap_or_default ( ) ,
16431643 signature : signature__. unwrap_or_default ( ) ,
16441644 } )
16451645 }
0 commit comments