Skip to content

Conversation

@crocodile-dentist
Copy link
Contributor

@crocodile-dentist crocodile-dentist commented Nov 14, 2024

NodeToClientV_19 should map to ShelleyNodeToClientVersion11 for GetBigLedgerPeerSnapshot query.

@jasagredo
Copy link
Contributor

You need to update the golden files. Run cabal run shelley-test -- --accept

Copy link
Member

@amesgen amesgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I missed this in #1067!

We also need to introduce CardanoNodeToClientVersion15 and use it here


where CardanoNodeToClientVersion15 is a copy of
pattern CardanoNodeToClientVersion14 :: BlockNodeToClientVersion (CardanoBlock c)
pattern CardanoNodeToClientVersion14 =
HardForkNodeToClientEnabled
HardForkSpecificNodeToClientVersion3
( EraNodeToClientEnabled ByronNodeToClientVersion1
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* EraNodeToClientEnabled ShelleyNodeToClientVersion10
:* Nil
)

with ShelleyNodeToClientVersion11.

All of this is fine because NodeToClientV_19 hasn't been released yet.

@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/shelleynodetoclientversion-fix branch 2 times, most recently from 43811e0 to a23e03e Compare November 14, 2024 16:14
@amesgen amesgen force-pushed the mwojtowicz/shelleynodetoclientversion-fix branch from a23e03e to 26bb95e Compare November 14, 2024 16:32
@amesgen
Copy link
Member

amesgen commented Nov 14, 2024

Pushed a minor fix in the tests and squashed the commits 👍

@amesgen amesgen enabled auto-merge November 14, 2024 16:35
@crocodile-dentist crocodile-dentist force-pushed the mwojtowicz/shelleynodetoclientversion-fix branch from 26bb95e to 2316e4d Compare November 14, 2024 16:57
@amesgen amesgen force-pushed the mwojtowicz/shelleynodetoclientversion-fix branch from 2316e4d to 97a74c5 Compare November 14, 2024 17:31
@amesgen amesgen added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit 8916105 Nov 14, 2024
17 checks passed
@amesgen amesgen deleted the mwojtowicz/shelleynodetoclientversion-fix branch November 14, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants