Skip to content

Commit 98918f8

Browse files
committed
Rebase and fixup
1 parent ee4d34b commit 98918f8

File tree

6 files changed

+22
-80
lines changed

6 files changed

+22
-80
lines changed

cabal.project

Lines changed: 9 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repository cardano-haskell-packages
1414
-- you need to run if you change them
1515
index-state:
1616
, hackage.haskell.org 2025-03-18T07:42:38Z
17-
, cardano-haskell-packages 2025-03-19T18:08:29Z
17+
, cardano-haskell-packages 2025-03-25T16:05:50Z
1818

1919

2020
packages:
@@ -77,76 +77,18 @@ if impl (ghc >= 9.12)
7777
-- https://github.com/fizruk/http-api-data/pull/146
7878
, http-api-data:base
7979

80-
source-repository-package
81-
type: git
82-
location: https://github.com/input-output-hk/cardano-base
83-
tag: b2cec3fbcde4bacb9c961e5510d5a1d3754c4e2b
84-
--sha256: sha256-TDEBINZ3SkhpRNomMdt53bR3gdzgkWR9jIlAr8yrU6o=
85-
subdir:
86-
cardano-crypto-class
87-
cardano-slotting
88-
89-
source-repository-package
90-
type: git
91-
location: https://github.com/input-output-hk/plutus
92-
tag: be9ccfc7f8ecc6ebc577dcf3374a30530ecdb168
93-
--sha256: sha256-R7t5Luc1d9l2tXKg5Jgqye+vQAEONwCrQ9/JDkFCu9M=
94-
subdir:
95-
plutus-core
96-
plutus-ledger-api
97-
plutus-tx
98-
99-
source-repository-package
100-
type: git
101-
location: https://github.com/input-output-hk/cardano-ledger
102-
tag: f5b35692b4d92d664187781a98b7af3fab445bad
103-
--sha256: sha256-krYzn7ct6S52bGLC8vs5/pL421UbP0+jVjxwUhOcbcA=
104-
subdir:
105-
eras/allegra/impl
106-
eras/alonzo/impl
107-
eras/alonzo/test-suite
108-
eras/babbage/impl
109-
eras/babbage/test-suite
110-
eras/byron/chain/executable-spec
111-
eras/byron/crypto
112-
eras/byron/crypto/test
113-
eras/byron/ledger/executable-spec
114-
eras/byron/ledger/impl
115-
eras/byron/ledger/impl/test
116-
eras/conway/impl
117-
eras/conway/test-suite
118-
eras/mary/impl
119-
eras/shelley/impl
120-
eras/shelley-ma/test-suite
121-
eras/shelley/test-suite
122-
libs/cardano-data
123-
libs/cardano-ledger-api
124-
libs/cardano-ledger-binary
125-
libs/cardano-ledger-core
126-
libs/cardano-ledger-test
127-
libs/cardano-protocol-tpraos
128-
libs/constrained-generators
129-
libs/non-integral
130-
libs/set-algebra
131-
libs/small-steps
132-
libs/vector-map
133-
134-
source-repository-package
135-
type: git
136-
location: https://github.com/input-output-hk/ouroboros-consensus
137-
tag: 1e2c0fed8e81c15575bf3cd3aaa9b6efde328d8d
138-
--sha256: sha256-osyNYXxJqg4MS6ISXtEneuYRb0xBIr5ztGmxvMyGTL4=
139-
subdir:
140-
ouroboros-consensus
141-
ouroboros-consensus-cardano
142-
ouroboros-consensus-protocol
143-
ouroboros-consensus-diffusion
80+
-- https://github.com/IntersectMBO/ouroboros-consensus/blob/main/cabal.project#L70-L74
81+
, ouroboros-network-protocols:base
82+
, ouroboros-network-framework:base
83+
, ouroboros-network-api:base
84+
, network-mux:base
85+
, ouroboros-network:base
14486

14587
source-repository-package
14688
type: git
14789
location: https://github.com/input-output-hk/cardano-api
148-
tag: de211cac855cf7e9e1bcd668a86bc121057efcc1
149-
--sha256: sha256-PX/NITXB65xIIS1enOeHbVZCq0CAksVM1kq24Uco1pg=
90+
tag: 8763425e418d5df0445d2b4afda5cecd284141f1
91+
--sha256: sha256-BCHAGx3S6VtgoF+oREllJHtD+ZQwLh4LxTM/tkINPSg=
15092
subdir:
15193
cardano-api
15294
cardano-api-gen

cardano-cli/src/Cardano/CLI/EraBased/Common/Option.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
module Cardano.CLI.EraBased.Common.Option where
1414

1515
import Cardano.Api
16-
import Cardano.Api.Ledger (StandardCrypto)
1716
import Cardano.Api.Ledger qualified as L
1817
import Cardano.Api.Network qualified as Consensus
1918
import Cardano.Api.Shelley
@@ -2210,7 +2209,7 @@ pRefScriptFp =
22102209
pMintMultiAsset
22112210
:: ShelleyBasedEra era
22122211
-> BalanceTxExecUnits
2213-
-> Parser (Maybe (L.MultiAsset StandardCrypto, [CliMintScriptRequirements]))
2212+
-> Parser (Maybe (L.MultiAsset, [CliMintScriptRequirements]))
22142213
pMintMultiAsset w balanceExecUnits =
22152214
caseShelleyToAllegraOrMaryEraOnwards
22162215
(const $ pure Nothing)

cardano-cli/src/Cardano/CLI/EraBased/Transaction/Command.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ data TransactionBuildRawCmdArgs era = TransactionBuildRawCmdArgs
7171
, requiredSigners :: ![RequiredSigner]
7272
-- ^ Required signers
7373
, txouts :: ![TxOutAnyEra]
74-
, mMintedAssets :: !(Maybe (L.MultiAsset L.StandardCrypto, [CliMintScriptRequirements]))
74+
, mMintedAssets :: !(Maybe (L.MultiAsset, [CliMintScriptRequirements]))
7575
-- ^ Multi-Asset minted value with script witness
7676
, mValidityLowerBound :: !(Maybe SlotNo)
7777
-- ^ Transaction validity lower bound
@@ -119,7 +119,7 @@ data TransactionBuildCmdArgs era = TransactionBuildCmdArgs
119119
-- ^ Normal outputs
120120
, changeAddresses :: !TxOutChangeAddress
121121
-- ^ A change output
122-
, mMintedAssets :: !(Maybe (L.MultiAsset L.StandardCrypto, [CliMintScriptRequirements]))
122+
, mMintedAssets :: !(Maybe (L.MultiAsset, [CliMintScriptRequirements]))
123123
-- ^ Multi-Asset minted value with script witness
124124
, mValidityLowerBound :: !(Maybe SlotNo)
125125
-- ^ Transaction validity lower bound
@@ -165,7 +165,7 @@ data TransactionBuildEstimateCmdArgs era = TransactionBuildEstimateCmdArgs
165165
-- ^ Normal outputs
166166
, changeAddress :: !TxOutChangeAddress
167167
-- ^ A change output
168-
, mMintedAssets :: !(Maybe (L.MultiAsset L.StandardCrypto, [CliMintScriptRequirements]))
168+
, mMintedAssets :: !(Maybe (L.MultiAsset, [CliMintScriptRequirements]))
169169
-- ^ Multi-Asset value with script witness
170170
, mValidityLowerBound :: !(Maybe SlotNo)
171171
-- ^ Transaction validity lower bound

cardano-cli/src/Cardano/CLI/EraBased/Transaction/Run.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ runTxBuildRaw
782782
-- ^ Tx upper bound
783783
-> Lovelace
784784
-- ^ Tx fee
785-
-> (L.MultiAsset L.StandardCrypto, [MintScriptWitnessWithPolicyId era])
785+
-> (L.MultiAsset, [MintScriptWitnessWithPolicyId era])
786786
-- ^ Multi-Asset minted value(s)
787787
-> [(Certificate era, Maybe (ScriptWitness WitCtxStake era))]
788788
-- ^ Certificate with potential script witness
@@ -868,7 +868,7 @@ constructTxBodyContent
868868
-- ^ Tx lower bound
869869
-> TxValidityUpperBound era
870870
-- ^ Tx upper bound
871-
-> (L.MultiAsset L.StandardCrypto, [MintScriptWitnessWithPolicyId era])
871+
-> (L.MultiAsset, [MintScriptWitnessWithPolicyId era])
872872
-- ^ Multi-Asset value(s)
873873
-> [(Certificate era, Maybe (ScriptWitness WitCtxStake era))]
874874
-- ^ Certificate with potential script witness
@@ -1011,7 +1011,7 @@ runTxBuild
10111011
-- ^ Normal outputs
10121012
-> TxOutChangeAddress
10131013
-- ^ A change output
1014-
-> (L.MultiAsset L.StandardCrypto, [MintScriptWitnessWithPolicyId era])
1014+
-> (L.MultiAsset, [MintScriptWitnessWithPolicyId era])
10151015
-- ^ Multi-Asset value(s)
10161016
-> Maybe SlotNo
10171017
-- ^ Tx lower bound
@@ -1384,7 +1384,7 @@ toTxAlonzoDatum supp cliDatum =
13841384
createTxMintValue
13851385
:: forall era
13861386
. ShelleyBasedEra era
1387-
-> (L.MultiAsset L.StandardCrypto, [MintScriptWitnessWithPolicyId era])
1387+
-> (L.MultiAsset, [MintScriptWitnessWithPolicyId era])
13881388
-> Either TxCmdError (TxMintValue BuildTx era)
13891389
createTxMintValue era (val, scriptWitnesses) =
13901390
if mempty == val && List.null scriptWitnesses

cardano-cli/src/Cardano/CLI/Orphan.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import Cardano.Api.Ledger qualified as L
1313
import Cardano.Api.Shelley (VotesMergingConflict, scriptDataToJsonDetailedSchema)
1414

1515
import Cardano.Ledger.CertState qualified as L
16+
import Cardano.Ledger.State qualified as L
1617

1718
import Data.Aeson
1819

@@ -21,7 +22,7 @@ instance Error (VotesMergingConflict era) where
2122

2223
-- TODO upstream this orphaned instance to the ledger
2324
instance
24-
(L.EraTxOut ledgerera, L.EraGov ledgerera, L.EraCertState ledgerera)
25+
(L.EraTxOut ledgerera, L.EraGov ledgerera, L.EraCertState ledgerera, L.EraStake ledgerera)
2526
=> ToJSON (L.NewEpochState ledgerera)
2627
where
2728
toJSON (L.NewEpochState nesEL nesBprev nesBCur nesEs nesRu nesPd _stashedAvvm) =

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)