Skip to content

Commit

Permalink
Minor fixes and bump hydra version
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jan 31, 2025
1 parent 2a2033c commit 90fb6a8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion api/observer-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,4 @@ components:
blockNo:
type: integer
observedTx:
# TODO: may be null
$ref: "https://raw.githubusercontent.com/cardano-scaling/hydra/json-schema-update/hydra-node/json-schemas/common.yaml#definitions/OnChainTx"
4 changes: 2 additions & 2 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ packages:
source-repository-package
type: git
location: https://github.com/cardano-scaling/hydra
tag: d3b3914643f8a1003ad6ed0ce50efd2e6d840b81
--sha256: sha256-5JH4p26wkTPuMj9+Eqoz4QC9yNLXpib5TINw69CurP4=
tag: 447061f3e7fc27aa9f9cd0623bcc477881f56d9f
--sha256: sha256-nD2y+jTuoq6Ronp0o0DOVOGRN1iu0semwvbWBhsA24E=
subdir:
hydra-prelude
hydra-test-utils
Expand Down
8 changes: 4 additions & 4 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 @@ -10,7 +10,7 @@
};

cardano-node.url = "github:IntersectMBO/cardano-node/9.2.0";
hydra-node.url = "github:cardano-scaling/hydra/d3b3914643f8a1003ad6ed0ce50efd2e6d840b81";
hydra-node.url = "github:cardano-scaling/hydra/447061f3e7fc27aa9f9cd0623bcc477881f56d9f";

hackage = {
url = "github:input-output-hk/hackage.nix";
Expand Down
4 changes: 2 additions & 2 deletions hydra-explorer/src/Hydra/Explorer/ExplorerState.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module Hydra.Explorer.ExplorerState where

import Hydra.Prelude

-- XXX: This is the only dependency onto hydra-node. Should factor this into a
-- hydra-chain package with smaller dependency footprint.
-- XXX: This is the only proper dependency onto hydra-node. Should factor this
-- into a hydra-chain package with smaller dependency footprint.
import Hydra.Chain (OnChainTx (..))

-- XXX: Need to depend on hydra-tx:testlib for generators?
Expand Down
2 changes: 1 addition & 1 deletion hydra-explorer/test/Hydra/Explorer/IntegrationSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec = do
-- Query client api
allHeads <- getHeads explorer
length (allHeads ^. _Array) `shouldBe` 1
allHeads ^? nth 0 . key "network" . _String `shouldBe` Just "testnet"
allHeads ^? nth 0 . key "network" . _String `shouldBe` Just "Testnet"
allHeads ^? nth 0 . key "networkMagic" . _String `shouldBe` Just (show . toNetworkMagic $ networkId node)
-- NOTE: This deliberately pins the latest version of hydra we test against.
allHeads ^? nth 0 . key "version" . _String `shouldBe` Just "0.19.0"
Expand Down

0 comments on commit 90fb6a8

Please sign in to comment.