Skip to content
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

Update protocol parameter helpers in TypeScript client #234

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Update protocol parameter helpers in TypeScript client #234

merged 1 commit into from
Jul 5, 2022

Conversation

KubqoA
Copy link
Contributor

@KubqoA KubqoA commented Jul 5, 2022

The helpers to determine what era the protocol parameters belong to were "out-dated".

  1. Existing ones (isShelleyProtocolParameters and isAlonzoProtocolParameters) were hard-to-use, as they didn't accept the new ProtocolParametersBabbage type
  2. And the function isBabbageProtocolParameters was missing.

This PR should fix both of these issues.

Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

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

Nice catch. Thanks 🙏

@KubqoA
Copy link
Contributor Author

KubqoA commented Jul 5, 2022

Thanks for the quick approve, and thanks for Ogmios 🙂

@KtorZ
Copy link
Member

KtorZ commented Jul 5, 2022

The CI failure is unrelated to this PR (though needs fixes, there's now a new era on the testnet :))

@KtorZ KtorZ merged commit 33ca692 into CardanoSolutions:master Jul 5, 2022
@KubqoA KubqoA deleted the update-protocol-parameter-helpers-in-ts-client branch July 5, 2022 14:24
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.

2 participants