-
Notifications
You must be signed in to change notification settings - Fork 217
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
Bump cardano-node to (almost) 1.28.0 #2755
Conversation
71a9b8a
to
42b592a
Compare
@@ -1191,36 +1207,42 @@ mkUnsignedTx era ttl cs md wdrls certs fees = | |||
ShelleyBasedEraShelley -> toShelleyTxOut | |||
ShelleyBasedEraAllegra -> toAllegraTxOut | |||
ShelleyBasedEraMary -> toMaryTxOut | |||
ShelleyBasedEraAlonzo -> error "todo: toAlonzoTxOut" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ShelleyBasedEraAlonzo -> error "todo: toAlonzoTxOut" | |
ShelleyBasedEraAlonzo -> error "todo(ADP-952): toAlonzoTxOut" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you use something like this:
error "toAlonzoTxOut unimplemented" -- TODO: [ADP-952] toAlonzoTxOut
then it's easy to find all your TODOs with lentil:
$ lentil -t ADP-952 lib
263 source files [****************] 100%
lib/shelley/src/Cardano/Wallet/Shelley/Compatibility.hs
521 fromAlonzoBlock [ADP-952]
923 fromAlonzoTx [ADP-952]
1148 datumHash [ADP-952]
1167 datumHash [ADP-952]
1186 datumHash [ADP-952]
lib/shelley/src/Cardano/Wallet/Shelley/Transaction.hs
1173 We presumably need to provide the protocol params if our tx uses
scripts? [ADP-952]
1220 toAlonzoTxOut [ADP-952]
I now get
for both stack and cabal, even though it seemed fixed locally (for stack build at least) 🤷♂️ |
33cf5e1
to
b7cbf51
Compare
Thanks @Anviking - I have done a squash and rebase. The stack build error on Buildkite was because the auto-generated nix files weren't up-to-date, and this was because it failed to push back to github for some weird reason. But anyway, I regenerated them. Let's see what happens with the integration tests... bors r+ |
2755: Bump cardano-node to (almost) 1.28.0 r=rvl a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: #expected - integration tests passed, unit tests failed because a second swagger change was needed. |
b7cbf51
to
a3bfdef
Compare
Again bors r+ |
2755: Bump cardano-node to (almost) 1.28.0 r=rvl a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
Build failed: #expected - Need to update golden json files, and "Time interpreter queried past the horizon" from integration tests. |
3ce1e23
to
266401b
Compare
bors try |
tryBuild succeeded: |
Many thanks! Not sure if I should squash everything, but merging. |
2755: Bump cardano-node to (almost) 1.28.0 r=Anviking a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]> Co-authored-by: Rodney Lorrimar <[email protected]>
266401b
to
bd74724
Compare
Canceled. |
bd74724
to
86eecf2
Compare
- Updates for cardano-node 1.28.0 - local-cluster: Add alonzo genesis - Regenerate nix - swagger: Add alonzo era to ApiNetworkParameters - Api.Types: Update golden JSON files with Alonzo era info - Bump iohk-nix to latest master branch - Update readme Co-Authored-By: Rodney Lorrimar <[email protected]>
86eecf2
to
e2a51ae
Compare
Fixed readme node revision and squashed bors r+ |
2755: Bump cardano-node to (almost) 1.28.0 r=Anviking a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]>
Build failed:
#2695 - but with |
bors r+ |
2755: Bump cardano-node to (almost) 1.28.0 r=Anviking a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]>
bors r- Saw the PastHorizon failure again... |
Canceled. |
bors try |
What is strange about https://hydra.iohk.io/build/6897950/nixlog/1 is that the PastHorizon failure come from reading a wallet in a part of a tests which doesn't use wallets. What actually caused the failure was CLI_NETWORK, which provided little details as of why it failed. In https://buildkite.com/input-output-hk/cardano-wallet/builds/15481#6b969a8a-2a4a-4947-a21f-c1b41bae0882, there were PastHorizonErrors, but the retrying I can get PastHorizon errors locally using with I think there might be nothing in particular going on except that the tip-sync client had to compete with wallet chain-sync clients, and got out of date. Things that might help down the line:
Things we could do now:
|
tryBuild succeeded: |
`readWalletMeta` has a hidden dependency on un up-to-date TimeInterpreter. Under heavy load, on the local cluster with short horizons, it seems to occasionally not be up to date. The removed log message had Debug severity, so keeping it shouldn't be that important. Outstanding problems: - Technically the pool follower also depends on an up-to-date TimeInterpreter. Hopefully problems here are less likely than for the pool worker. - `readWalletMeta` should either never fail with PastHorizon errors, or make the possibility clear to followers.
bors r+ |
2755: Bump cardano-node to (almost) 1.28.0 r=Anviking a=Anviking # Issue Number ADP-952 # Overview - [x] Bump to cardano-node master, in preparation for 1.28.0 release (input-output-hk/cardano-haskell#49) - [x] Update readme # Comments Basic Alonzo Era support is a non-goal for this PR. I implemented `fromAlonzoTx` and `fromAlonzoBlock` as `error "unimplemented"`s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time. - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-2755#tabs-evaluations) - [Cabal build](https://buildkite.com/input-output-hk/cardano-wallet-nightly/builds?branch=anviking%2FADP-952%2Fcardano-node-1.28.0) Co-authored-by: Johannes Lund <[email protected]>
Build failed:
Hopefully the likelihood of this failure has been reduced now, so perhaps can be labeled as: |
2355afb
to
fce4523
Compare
bors r+ |
Build succeeded: |
Issue Number
ADP-952
Overview
Comments
Basic Alonzo Era support is a non-goal for this PR. I implemented
fromAlonzoTx
andfromAlonzoBlock
aserror "unimplemented"
s for now. Will fill them in in a follow-up PR, perhaps with integration cluster support at the same time.