Skip to content

Commit

Permalink
cardano-node: 8.9 -> 8.11.0-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed May 23, 2024
1 parent fe34031 commit d4bda41
Show file tree
Hide file tree
Showing 22 changed files with 168 additions and 155 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
As a minor extension, we also keep a semantic version for the `UNRELEASED`
changes.

## Unreleased

- Tested with `cardano-node 8.11.0` and `cardano-cli 8.23.1.0`.

## [0.17.0] - 2024-05-20

- **BREAKING** Change `hydra-node` API `/commit` endpoint for committing from scripts [#1380](https://github.com/input-output-hk/hydra/pull/1380):
Expand Down
10 changes: 6 additions & 4 deletions cardano-api-classy/cardano-api-classy.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ library
Cardano.Api.Class.ToAlonzoScript
Cardano.Api.Classy

-- NOTE: We only use an upper bound on cardano-api and have the other
-- dependencies on cardano-ledger* follow.
build-depends:
, base >=4.16
, cardano-api >=8.42.0 && <8.43
, cardano-ledger-alonzo >=1.6 && <1.7
, cardano-ledger-conway >=1.12 && <1.13
, cardano-ledger-core >=1.10 && <1.11
, cardano-api ^>=8.46
, cardano-ledger-alonzo
, cardano-ledger-conway
, cardano-ledger-core
4 changes: 2 additions & 2 deletions docs/docs/tutorial/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mkdir -p bin
version=0.17.0
curl -L -O https://github.com/input-output-hk/hydra/releases/download/${version}/hydra-x86_64-linux-${version}.zip
unzip -d bin hydra-x86_64-linux-${version}.zip
curl -L -o - https://github.com/input-output-hk/cardano-node/releases/download/8.9.0/cardano-node-8.9.0-linux.tar.gz \
curl -L -o - https://github.com/IntersectMBO/cardano-node/releases/download/8.11.0/cardano-node-8.11.0-linux.tar.gz \
| tar xz ./bin/cardano-node ./bin/cardano-cli
curl -L -o - https://github.com/input-output-hk/mithril/releases/download/2412.0/mithril-2412.0-linux-x64.tar.gz \
| tar xz -C bin mithril-client
Expand All @@ -55,7 +55,7 @@ mkdir -p bin
version=0.17.0
curl -L -O https://github.com/input-output-hk/hydra/releases/download/${version}/hydra-aarch64-darwin-${version}.zip
unzip -d bin hydra-aarch64-darwin-${version}.zip
curl -L -o - https://github.com/input-output-hk/cardano-node/releases/download/8.9.0/cardano-node-8.9.0-macos.tar.gz \
curl -L -o - https://github.com/IntersectMBO/cardano-node/releases/download/8.11.0/cardano-node-8.11.0-macos.tar.gz \
| tar xz --wildcards ./bin/cardano-node ./bin/cardano-cli './bin/*.dylib'
curl -L -o - https://github.com/input-output-hk/mithril/releases/download/2412.0/mithril-2412.0-macos-x64.tar.gz \
| tar xz -C bin
Expand Down
129 changes: 56 additions & 73 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
url = "github:cardano-scaling/haskell-language-server?ref=2.6-patched";
flake = false;
};
cardano-node.url = "github:intersectmbo/cardano-node/8.9.0";
cardano-node.url = "github:intersectmbo/cardano-node/8.11.0-pre";
mithril.url = "github:input-output-hk/mithril/2418.1";
nix-npm-buildpackage.url = "github:serokell/nix-npm-buildpackage";
};
Expand Down
32 changes: 16 additions & 16 deletions hydra-cardano-api/hydra-cardano-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -75,30 +75,30 @@ library
Hydra.Cardano.Api.VerificationKey
Hydra.Cardano.Api.Witness

-- NOTE: We use very narrow bounds on cardano libraries as they tend to break
-- their interfaces often.
-- NOTE: We only use an upper bound on cardano-api and have the other
-- dependencies on cardano-ledger* and plutus-ledger-api follow.
build-depends:
, aeson >=2
, base >=4.16
, base16-bytestring
, bytestring
, cardano-api >=8.42.0 && <8.43
, cardano-api ^>=8.46
, cardano-api-classy
, cardano-binary >=1.7.0 && <1.8
, cardano-crypto-class >=2.1.1 && <2.2
, cardano-ledger-allegra >=1.3 && <1.4
, cardano-ledger-alonzo >=1.6 && <1.7
, cardano-ledger-api >=1.8 && <1.9
, cardano-ledger-babbage >=1.6 && <1.7
, cardano-ledger-binary >=1.3 && <1.4
, cardano-ledger-byron >=1.0.0 && <1.1
, cardano-ledger-conway >=1.12 && <1.13
, cardano-ledger-core >=1.10 && <1.11
, cardano-ledger-mary >=1.5 && <1.6
, cardano-ledger-shelley >=1.9 && <1.10
, cardano-binary
, cardano-crypto-class
, cardano-ledger-allegra
, cardano-ledger-alonzo
, cardano-ledger-api
, cardano-ledger-babbage
, cardano-ledger-binary
, cardano-ledger-byron
, cardano-ledger-conway
, cardano-ledger-core
, cardano-ledger-mary
, cardano-ledger-shelley
, containers
, lens
, plutus-ledger-api >=1.21 && <1.22
, plutus-ledger-api
, QuickCheck
, serialise
, text >=2
14 changes: 7 additions & 7 deletions hydra-cardano-api/src/Hydra/Cardano/Api/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Cardano.Ledger.Alonzo.TxAuxData (translateAlonzoTxAuxData)
import Cardano.Ledger.Alonzo.TxWits qualified as Ledger
import Cardano.Ledger.Api (
AlonzoPlutusPurpose (..),
AsIndex (..),
AsIx (..),
ConwayPlutusPurpose (..),
EraTx (mkBasicTx),
addrTxOutL,
Expand Down Expand Up @@ -143,13 +143,13 @@ convertConwayTx =
$ Map.toList redeemerMap

translatePlutusPurpose ::
Conway.ConwayPlutusPurpose Ledger.AsIndex (Ledger.ConwayEra StandardCrypto) ->
Maybe (Ledger.AlonzoPlutusPurpose Ledger.AsIndex (Ledger.BabbageEra StandardCrypto))
Conway.ConwayPlutusPurpose Ledger.AsIx (Ledger.ConwayEra StandardCrypto) ->
Maybe (Ledger.AlonzoPlutusPurpose Ledger.AsIx (Ledger.BabbageEra StandardCrypto))
translatePlutusPurpose = \case
ConwaySpending (AsIndex ix) -> Just $ AlonzoSpending (AsIndex ix)
ConwayMinting (AsIndex ix) -> Just $ AlonzoMinting (AsIndex ix)
ConwayCertifying (AsIndex ix) -> Just $ AlonzoCertifying (AsIndex ix)
ConwayRewarding (AsIndex ix) -> Just $ AlonzoRewarding (AsIndex ix)
ConwaySpending (AsIx ix) -> Just $ AlonzoSpending (AsIx ix)
ConwayMinting (AsIx ix) -> Just $ AlonzoMinting (AsIx ix)
ConwayCertifying (AsIx ix) -> Just $ AlonzoCertifying (AsIx ix)
ConwayRewarding (AsIx ix) -> Just $ AlonzoRewarding (AsIx ix)
ConwayVoting{} -> Nothing
ConwayProposing{} -> Nothing

Expand Down
Loading

0 comments on commit d4bda41

Please sign in to comment.