Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@tony-iqlusion
Copy link
Member

Implements support for the cometbft/cometbft#5126 interface for signing arbitrary domain-separated messages using a validator's consensus key

Copy link

@rach-id rach-id left a comment

Choose a reason for hiding this comment

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

Thanks for helping with this 🙏

chain,
prelude::*,
privval::{SignableMsg, SignedMsgType},
privval::{ConsensusMsg, ConsensusMsgType},
Copy link

Choose a reason for hiding this comment

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

this looks like a breaking change, do we need to change these? or make the PR only additive?

Copy link
Member Author

Choose a reason for hiding this comment

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

This project is effectively a [[bin]] crate so it doesn't matter

Copy link

Choose a reason for hiding this comment

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

cool 👍

Implements support for the cometbft/cometbft#5126 interface for signing
arbitrary domain-separated messages using a validator's consensus key
@tony-iqlusion tony-iqlusion changed the title [WIP] Support for signing raw bytes with consensus keys Support for signing raw bytes with consensus keys Oct 23, 2025
@tony-iqlusion tony-iqlusion marked this pull request as ready for review October 23, 2025 21:28
Comment on lines +75 to +77
[patch.crates-io.tendermint-proto]
git = "https://github.com/rach-id/tendermint-rs.git"
branch = "rachid/generate-latest-v38-protos"
Copy link
Member Author

Choose a reason for hiding this comment

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

I'll have to vendor the protos to get rid of this, I guess

@tony-iqlusion tony-iqlusion merged commit 42f31ad into main Oct 23, 2025
8 checks passed
@tony-iqlusion tony-iqlusion deleted the sign-raw-bytes branch October 23, 2025 21:37
tony-iqlusion added a commit that referenced this pull request Oct 30, 2025
Re-enables support for signing raw bytes using a consensus key,
originally added in #969.

That PR originally sourced its protos via git from:

https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos

To avoid the git dependency, this vendors the relevant protos, until
such a time that they can be merged into CometBFT properly, i.e.:

cometbft/cometbft#5138
tony-iqlusion added a commit that referenced this pull request Oct 30, 2025
Re-enables support for signing raw bytes using a consensus key,
originally added in #969.

That PR originally sourced its protos via git from:

https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos

To avoid the git dependency, this vendors the relevant protos, until
such a time that they can be merged into CometBFT properly, i.e.:

cometbft/cometbft#5138
tony-iqlusion added a commit that referenced this pull request Oct 30, 2025
Re-enables support for signing raw bytes using a consensus key,
originally added in #969.

That PR originally sourced its protos via git from:

https://github.com/rach-id/tendermint-rs/commits/rachid/generate-latest-v38-protos

To avoid the git dependency, this vendors the relevant protos, until
such a time that they can be merged into CometBFT properly, i.e.:

cometbft/cometbft#5138
@tony-iqlusion tony-iqlusion mentioned this pull request Nov 7, 2025
tony-iqlusion added a commit that referenced this pull request Nov 7, 2025
### Added
- Support for Celestia's extension to sign raw bytes with consensus keys (#969, #1134)
- `protocol_version = "v0.38"` configuration option for validators (#1138)
- Support for expanded Ed25519 keys including the exported YubiHSM format (#1096)

### Changed
- Bump Rust edition to 2024; MSRV 1.85 (#984, #967)
- Migrate (back) to `ed25519-dalek` (#991)
- Migrate from `tendermint-p2p` to `cometbft-p2p` (#1084)
- Migrate from `tendermint-rs` to (iq-)`cometbft-rs` (#1124, #1129, #1139)
- Bump `prost` and `tonic` to v0.14 (#1136)
- Bump `abscissa_core` to v0.9 (#1146)

### Removed
- `cosmrs` dependency (#1125)
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.