File tree 2 files changed +5
-20
lines changed
2 files changed +5
-20
lines changed Original file line number Diff line number Diff line change 10
10
11
11
- Add ` query tx-mempool ` ([ PR 4276] ( https://github.com/input-output-hk/cardano-node/pull/4276 ) )
12
12
13
+ - Allow assembling transactions with no witnesses ([ PR 4408] ( https://github.com/input-output-hk/cardano-node/pull/4408 ) )
13
14
14
15
### Bugs
15
16
Original file line number Diff line number Diff line change @@ -750,7 +750,7 @@ pTransaction =
750
750
751
751
pTransactionSign :: Parser TransactionCmd
752
752
pTransactionSign = TxSign <$> pInputTxOrTxBodyFile
753
- <*> pSomeWitnessSigningData
753
+ <*> many pWitnessSigningData
754
754
<*> optional pNetworkId
755
755
<*> pTxFile Output
756
756
@@ -764,7 +764,7 @@ pTransaction =
764
764
pTransactionAssembleTxBodyWit :: Parser TransactionCmd
765
765
pTransactionAssembleTxBodyWit = TxAssembleTxBodyWitness
766
766
<$> pTxBodyFile Input
767
- <*> some pWitnessFile
767
+ <*> many pWitnessFile
768
768
<*> pOutputFile
769
769
770
770
pTransactionSubmit :: Parser TransactionCmd
@@ -1665,9 +1665,8 @@ pWhichLeadershipSchedule = pCurrent <|> pNext
1665
1665
<> Opt. help " Get the leadership schedule for the following epoch."
1666
1666
)
1667
1667
1668
- pSomeWitnessSigningData :: Parser [WitnessSigningData ]
1669
- pSomeWitnessSigningData =
1670
- some $
1668
+ pWitnessSigningData :: Parser WitnessSigningData
1669
+ pWitnessSigningData =
1671
1670
KeyWitnessSigningData
1672
1671
<$>
1673
1672
( SigningKeyFile <$>
@@ -1691,21 +1690,6 @@ pSigningKeyFile fdir =
1691
1690
<> Opt. completer (Opt. bashCompleter " file" )
1692
1691
)
1693
1692
1694
- pWitnessSigningData :: Parser WitnessSigningData
1695
- pWitnessSigningData =
1696
- KeyWitnessSigningData
1697
- <$>
1698
- ( SigningKeyFile <$>
1699
- Opt. strOption
1700
- ( Opt. long " signing-key-file"
1701
- <> Opt. metavar " FILE"
1702
- <> Opt. help " Filepath of the signing key to be used in witness construction."
1703
- <> Opt. completer (Opt. bashCompleter " file" )
1704
- )
1705
- )
1706
- <*>
1707
- optional pByronAddress
1708
-
1709
1693
pKesPeriod :: Parser KESPeriod
1710
1694
pKesPeriod =
1711
1695
KESPeriod <$>
You can’t perform that action at this time.
0 commit comments