Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove call to checkProtocolParameters #780

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ write-ghc-environment-files: always
-- IMPORTANT
-- Do NOT add more source-repository-package stanzas here unless they are strictly
-- temporary! Please read the section in CONTRIBUTING about updating dependencies.

source-repository-package
type: git
location: https://github.com/IntersectMBO/cardano-api
subdir: cardano-api
tag: edf999cfe60a0821b3f1c524670c86f0c04f71f9
2 changes: 0 additions & 2 deletions cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1305,8 +1305,6 @@ runTransactionCalculateMinValueCmd
pp <- firstExceptT TxCmdProtocolParamsError (readProtocolParameters eon protocolParamsFile)
out <- toTxOutInShelleyBasedEra eon txOut

firstExceptT TxCmdPParamsErr . hoistEither
$ checkProtocolParameters eon (fromLedgerPParams eon pp)
let minValue = calculateMinimumUTxO eon out pp
liftIO . IO.print $ minValue

Expand Down
Loading