Skip to content

Commit 1f18513

Browse files
committed
Use cardano-node 1.35.0
1 parent f983f82 commit 1f18513

File tree

3 files changed

+38
-38
lines changed

3 files changed

+38
-38
lines changed

flake.lock

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

flake.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
# all inputs below here are for pinning with haskell.nix
1818
cardano-addresses = {
1919
url =
20-
"github:input-output-hk/cardano-addresses/b9f424cc64459a95a2f190a1839ec9bc94cc778c";
20+
"github:input-output-hk/cardano-addresses/b6f2f3cef01a399376064194fd96711a5bdba4a7";
2121
flake = false;
2222
};
2323
cardano-base = {
2424
url =
25-
"github:input-output-hk/cardano-base/631cb6cf1fa01ab346233b610a38b3b4cba6e6ab";
25+
"github:input-output-hk/cardano-base/0f3a867493059e650cda69e20a5cbf1ace289a57";
2626
flake = false;
2727
};
2828
cardano-config = {
@@ -37,12 +37,12 @@
3737
};
3838
cardano-ledger = {
3939
url =
40-
"github:input-output-hk/cardano-ledger/e290bf8d0ea272a51e9acd10adc96b4e12e00d37";
40+
"github:input-output-hk/cardano-ledger/ce3057e0863304ccb3f79d78c77136219dc786c6";
4141
flake = false;
4242
};
4343
cardano-node = {
4444
url =
45-
"github:input-output-hk/cardano-node/95c3692cfbd4cdb82071495d771b23e51840fb0e";
45+
"github:input-output-hk/cardano-node/1.35.0";
4646
flake = false; # we need it to be available in shell
4747
};
4848
cardano-prelude = {
@@ -51,7 +51,7 @@
5151
flake = false;
5252
};
5353
cardano-wallet = {
54-
url = "github:input-output-hk/cardano-wallet/0cdd1b72a16b2f287b5f1bf137b5eba15bc7f300";
54+
url = "github:input-output-hk/cardano-wallet/a73d8c9717dc4e174745f8568d6f3fe84f0f9d76";
5555
flake = false;
5656
};
5757
ekg-forward = {
@@ -102,12 +102,12 @@
102102
};
103103
ouroboros-network = {
104104
url =
105-
"github:input-output-hk/ouroboros-network/04245dbd69387da98d3a37de9f400965e922bb0e";
105+
"github:input-output-hk/ouroboros-network/a65c29b6a85e90d430c7f58d362b7eb097fd4949";
106106
flake = false;
107107
};
108108
plutus = {
109109
url =
110-
"github:input-output-hk/plutus/d24a7540e4659b57ce2ab25dadb968991e232191";
110+
"github:input-output-hk/plutus/f680ac6979e069fcc013e4389ee607ff5fa6672f";
111111
flake = false;
112112
};
113113
plutus-apps = {

src/BotPlutusInterface/TimeSlot.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ posixTimeRangeToContainedSlotRangeIO
156156
-- https://github.com/input-output-hk/plutus-apps/blob/e51f57fa99f4cc0942ba6476b0689e43f0948eb3/plutus-ledger/src/Ledger/TimeSlot.hs#L125-L130
157157
getExtClosure ::
158158
PParams (AlonzoEra StandardCrypto) ->
159-
EpochInfo (Either CAPI.TransactionValidityError) ->
159+
EpochInfo (Either Text) ->
160160
SystemStart ->
161161
Extended Ledger.Slot ->
162162
Bool -> -- current `Closure` of lower or upper bound of `Ledger.POSIXTimeRange`
@@ -214,9 +214,9 @@ toError = TimeSlotConversionError . Text.pack . show
214214
-- | Get Ledger `EpochInfo` from "Cardano.Api" `EraHistory`.
215215
toLedgerEpochInfo ::
216216
CAPI.EraHistory mode ->
217-
EpochInfo (Either CAPI.TransactionValidityError)
217+
EpochInfo (Either Text)
218218
toLedgerEpochInfo (CAPI.EraHistory _ interpreter) =
219-
hoistEpochInfo (first CAPI.TransactionValidityIntervalError . runExcept) $
219+
hoistEpochInfo (first (Text.pack . show) . runExcept) $
220220
Consensus.interpreterToEpochInfo interpreter
221221

222222
mkNodeInfo :: PABConfig -> IO NodeInfo

0 commit comments

Comments
 (0)