@@ -458,7 +458,7 @@ impl serde::Serialize for DkgCompletionRequest {
458
458
if !self . vaults . is_empty ( ) {
459
459
len += 1 ;
460
460
}
461
- if !self . consensus_address . is_empty ( ) {
461
+ if !self . consensus_pubkey . is_empty ( ) {
462
462
len += 1 ;
463
463
}
464
464
if !self . signature . is_empty ( ) {
@@ -477,8 +477,8 @@ impl serde::Serialize for DkgCompletionRequest {
477
477
if !self . vaults . is_empty ( ) {
478
478
struct_ser. serialize_field ( "vaults" , & self . vaults ) ?;
479
479
}
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 ) ?;
482
482
}
483
483
if !self . signature . is_empty ( ) {
484
484
struct_ser. serialize_field ( "signature" , & self . signature ) ?;
@@ -497,8 +497,8 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
497
497
"id" ,
498
498
"sender" ,
499
499
"vaults" ,
500
- "consensus_address " ,
501
- "consensusAddress " ,
500
+ "consensus_pubkey " ,
501
+ "consensusPubkey " ,
502
502
"signature" ,
503
503
] ;
504
504
@@ -507,7 +507,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
507
507
Id ,
508
508
Sender ,
509
509
Vaults ,
510
- ConsensusAddress ,
510
+ ConsensusPubkey ,
511
511
Signature ,
512
512
}
513
513
#[ cfg( feature = "serde" ) ]
@@ -537,8 +537,8 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
537
537
"id" => Ok ( GeneratedField :: Id ) ,
538
538
"sender" => Ok ( GeneratedField :: Sender ) ,
539
539
"vaults" => Ok ( GeneratedField :: Vaults ) ,
540
- "consensusAddress " | "consensus_address " => {
541
- Ok ( GeneratedField :: ConsensusAddress )
540
+ "consensusPubkey " | "consensus_pubkey " => {
541
+ Ok ( GeneratedField :: ConsensusPubkey )
542
542
}
543
543
"signature" => Ok ( GeneratedField :: Signature ) ,
544
544
_ => Err ( serde:: de:: Error :: unknown_field ( value, FIELDS ) ) ,
@@ -566,7 +566,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
566
566
let mut id__ = None ;
567
567
let mut sender__ = None ;
568
568
let mut vaults__ = None ;
569
- let mut consensus_address__ = None ;
569
+ let mut consensus_pubkey__ = None ;
570
570
let mut signature__ = None ;
571
571
while let Some ( k) = map_. next_key ( ) ? {
572
572
match k {
@@ -591,11 +591,11 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
591
591
}
592
592
vaults__ = Some ( map_. next_value ( ) ?) ;
593
593
}
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 " ) ) ;
597
597
}
598
- consensus_address__ = Some ( map_. next_value ( ) ?) ;
598
+ consensus_pubkey__ = Some ( map_. next_value ( ) ?) ;
599
599
}
600
600
GeneratedField :: Signature => {
601
601
if signature__. is_some ( ) {
@@ -609,7 +609,7 @@ impl<'de> serde::Deserialize<'de> for DkgCompletionRequest {
609
609
id : id__. unwrap_or_default ( ) ,
610
610
sender : sender__. unwrap_or_default ( ) ,
611
611
vaults : vaults__. unwrap_or_default ( ) ,
612
- consensus_address : consensus_address__ . unwrap_or_default ( ) ,
612
+ consensus_pubkey : consensus_pubkey__ . unwrap_or_default ( ) ,
613
613
signature : signature__. unwrap_or_default ( ) ,
614
614
} )
615
615
}
@@ -1492,7 +1492,7 @@ impl serde::Serialize for MsgCompleteDkg {
1492
1492
if !self . vaults . is_empty ( ) {
1493
1493
len += 1 ;
1494
1494
}
1495
- if !self . consensus_address . is_empty ( ) {
1495
+ if !self . consensus_pubkey . is_empty ( ) {
1496
1496
len += 1 ;
1497
1497
}
1498
1498
if !self . signature . is_empty ( ) {
@@ -1510,8 +1510,8 @@ impl serde::Serialize for MsgCompleteDkg {
1510
1510
if !self . vaults . is_empty ( ) {
1511
1511
struct_ser. serialize_field ( "vaults" , & self . vaults ) ?;
1512
1512
}
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 ) ?;
1515
1515
}
1516
1516
if !self . signature . is_empty ( ) {
1517
1517
struct_ser. serialize_field ( "signature" , & self . signature ) ?;
@@ -1530,8 +1530,8 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1530
1530
"sender" ,
1531
1531
"id" ,
1532
1532
"vaults" ,
1533
- "consensus_address " ,
1534
- "consensusAddress " ,
1533
+ "consensus_pubkey " ,
1534
+ "consensusPubkey " ,
1535
1535
"signature" ,
1536
1536
] ;
1537
1537
@@ -1540,7 +1540,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1540
1540
Sender ,
1541
1541
Id ,
1542
1542
Vaults ,
1543
- ConsensusAddress ,
1543
+ ConsensusPubkey ,
1544
1544
Signature ,
1545
1545
}
1546
1546
#[ cfg( feature = "serde" ) ]
@@ -1570,8 +1570,8 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1570
1570
"sender" => Ok ( GeneratedField :: Sender ) ,
1571
1571
"id" => Ok ( GeneratedField :: Id ) ,
1572
1572
"vaults" => Ok ( GeneratedField :: Vaults ) ,
1573
- "consensusAddress " | "consensus_address " => {
1574
- Ok ( GeneratedField :: ConsensusAddress )
1573
+ "consensusPubkey " | "consensus_pubkey " => {
1574
+ Ok ( GeneratedField :: ConsensusPubkey )
1575
1575
}
1576
1576
"signature" => Ok ( GeneratedField :: Signature ) ,
1577
1577
_ => Err ( serde:: de:: Error :: unknown_field ( value, FIELDS ) ) ,
@@ -1596,7 +1596,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1596
1596
let mut sender__ = None ;
1597
1597
let mut id__ = None ;
1598
1598
let mut vaults__ = None ;
1599
- let mut consensus_address__ = None ;
1599
+ let mut consensus_pubkey__ = None ;
1600
1600
let mut signature__ = None ;
1601
1601
while let Some ( k) = map_. next_key ( ) ? {
1602
1602
match k {
@@ -1621,11 +1621,11 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1621
1621
}
1622
1622
vaults__ = Some ( map_. next_value ( ) ?) ;
1623
1623
}
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 " ) ) ;
1627
1627
}
1628
- consensus_address__ = Some ( map_. next_value ( ) ?) ;
1628
+ consensus_pubkey__ = Some ( map_. next_value ( ) ?) ;
1629
1629
}
1630
1630
GeneratedField :: Signature => {
1631
1631
if signature__. is_some ( ) {
@@ -1639,7 +1639,7 @@ impl<'de> serde::Deserialize<'de> for MsgCompleteDkg {
1639
1639
sender : sender__. unwrap_or_default ( ) ,
1640
1640
id : id__. unwrap_or_default ( ) ,
1641
1641
vaults : vaults__. unwrap_or_default ( ) ,
1642
- consensus_address : consensus_address__ . unwrap_or_default ( ) ,
1642
+ consensus_pubkey : consensus_pubkey__ . unwrap_or_default ( ) ,
1643
1643
signature : signature__. unwrap_or_default ( ) ,
1644
1644
} )
1645
1645
}
0 commit comments