Skip to content

Commit

Permalink
Default to alonzo era in the cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Nov 3, 2021
1 parent b6c7928 commit 5a7c409
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Parsers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1842,7 +1842,7 @@ pCardanoEra = asum
)

-- Default for now:
, pure (AnyCardanoEra MaryEra)
, pure (AnyCardanoEra AlonzoEra)
]

pTxIn :: BalanceTxExecUnits
Expand Down
2 changes: 1 addition & 1 deletion cardano-submit-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Build a raw transaction:

```bash
playground $ cardano-cli transaction build-raw \
--mary-era \
--alonzo-era \
--tx-in "$txhash#0" \
--tx-out "$(cat testnet-user-1-payment.addr)+$remaining" \
--tx-out "$(cat testnet-user-2-payment.addr)+1000000" \
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/multi-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ cardano-cli transaction submit --tx-file tx --testnet-magic 42

```bash
cardano-cli transaction build-raw \
--mary-era \
--alonzo-era \
--fee 0 \
--tx-in $TXIN \
--tx-out $TXOUT\
Expand Down
3 changes: 2 additions & 1 deletion doc/reference/shelley-genesis.md
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,8 @@ Available options:
--byron-era Specify the Byron era
--shelley-era Specify the Shelley era
--allegra-era Specify the Allegra era
--mary-era Specify the Mary era (default)
--mary-era Specify the Mary era
--alonzo-era Specify the Alonzo era (default)
--tx-in TX-IN TxId#TxIx
--txin-script-file FILE Filepath of the spending script witness
--tx-out TX-OUT The transaction output as Address+Lovelace where
Expand Down

0 comments on commit 5a7c409

Please sign in to comment.