-
Notifications
You must be signed in to change notification settings - Fork 25
fix(cometbft): use correct key types #120
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
base: main
Are you sure you want to change the base?
Conversation
|
Hi! Is this the latest change that needed to support cometbft v1 on the Cosmos SDK side? |
yep |
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.
Pull Request Overview
This PR fixes incorrect public key type references in CometBFT light client test data by replacing the deprecated tendermint/PubKeyEd25519 format with the plain ed25519 format.
- Updates public key type format across multiple test JSON files
- Standardizes key type naming to match current CometBFT specifications
- Ensures consistency with the referenced GitHub issue about correct key types
Reviewed Changes
Copilot reviewed 47 out of 48 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| MC50_2_faulty_TestFailure.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestValsetHalves.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestValsetDoubles.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestValsetDifferentAllSteps.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestValsetChangesFully.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestSuccess.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestOneThirdValsetChanges.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestNonMonotonicHeight.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestMoreThanTwoThirdsSign.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestLessThanTwoThirdsSign.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestLessThanThirdValsetChanges.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestHeaderNotWithinTrustingPeriod.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestHeaderFromFuture.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestHalfValsetChangesVerdictSuccess.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestHalfValsetChangesVerdictNotEnoughTrust.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestHalfValsetChanges.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_TestFailure.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
| MC4_4_faulty_Test2NotEnoughTrustSuccess.json | Updates all pub_key_type fields from tendermint/PubKeyEd25519 to ed25519 |
Refs #115
tendermint/PubKeyEd25519was wrongly used instead of the plained25519(same for secp).