@@ -998,10 +998,12 @@ fn proposal_type_to_ledger_vector(
998998 PGFAction :: Continuous ( AddRemove :: Add ( ContPGFTarget {
999999 target : PGFTarget :: Internal ( target) ,
10001000 end_epoch,
1001+ proposal_id,
10011002 } ) ) => {
10021003 output. push (
10031004 "PGF Action : Add Continuous Payment" . to_string ( ) ,
10041005 ) ;
1006+ output. push ( format ! ( "Proposal ID: {}" , proposal_id) ) ;
10051007 output. push ( format ! ( "Target: {}" , target. target) ) ;
10061008 output. push ( format ! (
10071009 "Amount: NAM {}" ,
@@ -1021,10 +1023,12 @@ fn proposal_type_to_ledger_vector(
10211023 PGFAction :: Continuous ( AddRemove :: Add ( ContPGFTarget {
10221024 target : PGFTarget :: Ibc ( target) ,
10231025 end_epoch,
1026+ proposal_id,
10241027 } ) ) => {
10251028 output. push (
10261029 "PGF Action : Add Continuous Payment" . to_string ( ) ,
10271030 ) ;
1031+ output. push ( format ! ( "Proposal ID: {}" , proposal_id) ) ;
10281032 output. push ( format ! ( "Target: {}" , target. target) ) ;
10291033 output. push ( format ! (
10301034 "Amount: NAM {}" ,
@@ -1048,12 +1052,14 @@ fn proposal_type_to_ledger_vector(
10481052 ContPGFTarget {
10491053 target : PGFTarget :: Internal ( target) ,
10501054 end_epoch,
1055+ proposal_id,
10511056 } ,
10521057 ) ) => {
10531058 output. push (
10541059 "PGF Action : Remove Continuous Payment"
10551060 . to_string ( ) ,
10561061 ) ;
1062+ output. push ( format ! ( "Proposal ID: {}" , proposal_id) ) ;
10571063 output. push ( format ! ( "Target: {}" , target. target) ) ;
10581064 output. push ( format ! (
10591065 "Amount: NAM {}" ,
@@ -1074,12 +1080,14 @@ fn proposal_type_to_ledger_vector(
10741080 ContPGFTarget {
10751081 target : PGFTarget :: Ibc ( target) ,
10761082 end_epoch,
1083+ proposal_id,
10771084 } ,
10781085 ) ) => {
10791086 output. push (
10801087 "PGF Action : Remove Continuous Payment"
10811088 . to_string ( ) ,
10821089 ) ;
1090+ output. push ( format ! ( "Proposal ID: {}" , proposal_id) ) ;
10831091 output. push ( format ! ( "Target: {}" , target. target) ) ;
10841092 output. push ( format ! (
10851093 "Amount: NAM {}" ,
@@ -3086,6 +3094,7 @@ mod test_signing {
30863094 amount : Amount :: zero ( ) ,
30873095 } ) ,
30883096 end_epoch : Some ( Epoch :: from ( 1 ) ) ,
3097+ proposal_id : 0 ,
30893098 } ) , // TODO: ask Murisi if this is ok
30903099 ) ] ) ) ,
30913100 & tx,
@@ -3111,6 +3120,7 @@ mod test_signing {
31113120 amount : Amount :: zero ( ) ,
31123121 } ) ,
31133122 end_epoch : Some ( Epoch :: from ( 1 ) ) ,
3123+ proposal_id : 0 ,
31143124 } ) , // TODO: ask Murisi if this is ok
31153125 ) ] ) ) ,
31163126 & tx,
@@ -3161,6 +3171,7 @@ mod test_signing {
31613171 channel_id : ChannelId :: new ( 16 ) ,
31623172 } ) ,
31633173 end_epoch : None ,
3174+ proposal_id : 0 ,
31643175 } ) , // TODO: ask Murisi if this is ok
31653176 ) ] ) ) ,
31663177 & tx,
@@ -3191,6 +3202,7 @@ mod test_signing {
31913202 channel_id : ChannelId :: new ( 16 ) ,
31923203 } ) ,
31933204 end_epoch : None ,
3205+ proposal_id : 0 ,
31943206 } ) , // TODO: ask Murisi if this is ok
31953207 ) ] ) ) ,
31963208 & tx,
0 commit comments