-
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 1.32.1 #3050
Conversation
a560d27
to
e4ee513
Compare
bors r+ |
👎 Rejected by too few approved reviews |
bors try |
tryBuild failed: |
e4ee513
to
308a7fe
Compare
bors try |
tryBuild succeeded: |
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.
Great! lgtm modulo three comments which I think should be addressed.
lib/core/src/Cardano/Api/Gen.hs
Outdated
(Large mem) <- arbitrary | ||
pure $ ExecutionUnits steps mem | ||
(Large (steps :: Int)) <- arbitrary | ||
(Large (mem :: Int)) <- arbitrary |
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.
Using Word64
might be the safer choice to preserve the previous behaviour. (ExecuionUnits
had Word64 fields on 1.30.1)
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.
Yes - fixed.
lib/core/src/Cardano/Api/Gen.hs
Outdated
Just supported -> oneof | ||
[ pure TxOutDatumHashNone | ||
[ pure TxOutDatumNone | ||
, TxOutDatumHash supported <$> genHashScriptData |
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.
Interesting, it seems there's both TxOutDatum'
and TxOutDatumHash
now.
Could we rename genTxOutDatumHash
to genTxOutDatum
and also generate TxOutDatum'
?
Or at the least add a note about it.
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.
I renamed genTxOutDatumHash
to genTxOutDatum
, but where is this TxOutDatum'
?
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.
{ executionSteps = steps | ||
, executionMemory = mem | ||
{ executionSteps = fromIntegral steps | ||
, executionMemory = fromIntegral mem |
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.
This looks like an unsafe Natural
to Word64
conversion.
I believe this is something we really don't want to overflow (even if it's impossible or has no effect at the moment).
Can we change W.ExecutionUnits
to also use Natural
instead of Word64
?
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.
Yes, definitely.
Also don't forget to update the readme compatibility table! |
ee17530
to
93b934b
Compare
I rebased, some build error remains though |
93b934b
to
5bbf2bd
Compare
Thanks ... but you may have accidentally force pushed over some commits 😁. I have pushed them back now, and will address your review comments shortly. |
cd8367f
to
e2fcd53
Compare
🙈 👍 |
adcd22b
to
8a133b9
Compare
bors r+ |
3050: Bump cardano-node to 1.32.1 r=rvl a=rvl Updates to [cardano-node 1.32.1](https://github.com/input-output-hk/cardano-node/releases/tag/1.32.1) Release notes for [1.31.0](https://github.com/input-output-hk/cardano-node/releases/tag/1.31.0). - [x] Updates cardano-node version in `stack.yaml`. - [x] Updates cardano-node version in `cabal.project`. - [x] Fix new build errors. - [x] Fix any test failures. - [x] Update readme. ### Comments - [Hydra jobset](https://hydra.iohk.io/jobset/Cardano/cardano-wallet-pr-3050) See also: #3023 #3038 ### Issue Number ADP-1266 Co-authored-by: Rodney Lorrimar <[email protected]> Co-authored-by: Jann Müller <[email protected]>
Build failed:
|
bors r+ |
Merge conflict. |
8a133b9
to
6dacb51
Compare
bors r+ |
Build succeeded: |
Updates to cardano-node 1.32.1
Release notes for 1.31.0.
stack.yaml
.cabal.project
.Comments
See also: #3023 #3038
Issue Number
ADP-1266