-
Notifications
You must be signed in to change notification settings - Fork 724
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
Basic Alonzo node #2657
Basic Alonzo node #2657
Conversation
682d158
to
f7fa53c
Compare
After 2932 in ouroboros-network is merged, I can update the node deps in this PR and finalize this PR. |
d2be177
to
fa6f0cf
Compare
f8001d2
to
8c19e28
Compare
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.
Looking great.
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.
Nearly there.
@@ -158,7 +167,7 @@ mkSomeConsensusProtocolCardano NodeByronProtocolConfiguration { | |||
-- is in the Allegra era. That is, it is the version of protocol | |||
-- /after/ Allegra, i.e. Mary. | |||
allegraProtVer = | |||
ProtVer 4 0 | |||
ProtVer 3 0 |
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 still needs fixing.
b33173e
to
7e7f48e
Compare
-- During testing of the Alonzo era, we conditionally declare that we | ||
-- know about the Alonzo era. We do so only when a config option for | ||
-- testing development/unstable eras is used. This lets us include | ||
-- not-yet-ready eras in released node versions without mainnet nodes |
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.
Can a specially forged packet break a node?
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.
No. It's just about not prematurely advertising support for a new era.
a8ad59d
to
8d9b11b
Compare
7824825
to
b3c46e9
Compare
e8ddaa2
to
45bbb5b
Compare
This avoids having to update it for Alonzo support.
Update the cardano-api and cardano-node with initial support for the Alonzo era in order to pave the path to a basic Alonzo node. A lot of functionality still not implemented for Alonzo era. It remains as stubs or as TODOs. Co-authored-by: Duncan Coutts <duncan@well-typed.com>
28b32b2
to
4fd210e
Compare
Alonzo parameters
4fd210e
to
41c4a2e
Compare
3fc290c
to
2d944a5
Compare
7ce773f
to
8c0e2e9
Compare
692d68c
to
1e4ebe3
Compare
1e4ebe3
to
52a8247
Compare
bors merge |
Build succeeded: |
2768: Bring back Windows and macOS builds on Hydra r=jbgi a=rvl The Windows and macOS builds were disabled in #2657 so that at least something could be merged. - [x] Revert commit 8c0e2e9. - [ ] Fix failed build of `plutus-core:library:plutus-core` when cross-compiling to windows. See [Hydra jobset for PR #2768](https://hydra.iohk.io/jobset/Cardano/cardano-node-pr-2768#tabs-jobs) cc: @Jimbo4350 @disassembler @jbgi Co-authored-by: Rodney Lorrimar <rodney.lorrimar@iohk.io> Co-authored-by: Hamish Mackenzie <Hamish.K.Mackenzie@gmail.com> Co-authored-by: Jean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io>
In order to have QA begin testing on an Alonzo capable node we have minimally integrated the Alonzo era such that a node can hardfork to the Alonzo era. No other functionality has been implemented i.e nothing cli related and only enough in the api to allow a hardfork.
NB: #2400 needs to be merged to enable hardforking to Alonzo