Skip to content

Conversation

@melekes
Copy link
Contributor

@melekes melekes commented Jul 31, 2025

Refs #115

tendermint/PubKeyEd25519 was wrongly used instead of the plain ed25519 (same for secp).

melekes added a commit to informalsystems/tmkms-cometbft that referenced this pull request Jul 31, 2025
@maxim-inj
Copy link

Hi! Is this the latest change that needed to support cometbft v1 on the Cosmos SDK side?

@melekes
Copy link
Contributor Author

melekes commented Aug 4, 2025

Hi! Is this the latest change that needed to support cometbft v1 on the Cosmos SDK side?

yep

@melekes melekes marked this pull request as ready for review August 4, 2025 15:26
@melekes melekes requested a review from Copilot August 4, 2025 15:41
Copy link

Copilot AI left a 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

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.

3 participants