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

First stab at migrating to CometBFT-rs #190

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "Apache-2.0"
repository = "https://github.com/cosmos/ibc-proto-rs"
readme = "README.md"
categories = ["cryptography::cryptocurrencies", "encoding", "no-std"]
keywords = ["blockchain", "cosmos", "tendermint", "ibc", "proto"]
keywords = ["blockchain", "cosmos", "interchain", "ibc", "proto"]
exclude = ["definitions", "tools", ".changelog", ".github"]
description = """
ibc-proto provides Cosmos SDK & IBC Protocol Buffers definitions
Expand Down Expand Up @@ -47,8 +47,8 @@ scale-info = { version = "2.1.2", default-features = false, features = [
## For borsh encode or decode, needs to track `anchor-lang` and `near-sdk-rs` borsh version
borsh = { version = "0.10", default-features = false, optional = true }

[dependencies.tendermint-proto]
version = "0.34"
[dependencies.cometbft-proto]
version = "0.1.0-alpha.2"
default-features = false

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/COSMOS_SDK_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e9e5d6eea24d6c11eddc9c002c66e89ae036187
7dbed2fc0c3ed7c285645e21cb1037d8810372ae
16 changes: 1 addition & 15 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

pub mod google;

pub use tendermint_proto::Protobuf;
pub use cometbft_proto::Protobuf;

extern crate alloc;

Expand Down Expand Up @@ -144,20 +144,6 @@ pub mod cosmos {
include_proto!("cosmos.base.tendermint.v1beta1.rs");
}
}
pub mod kv {
pub mod v1beta1 {
include_proto!("cosmos.base.kv.v1beta1.rs");
#[cfg(feature = "serde")]
include_proto!("cosmos.base.kv.v1beta1.serde.rs");
}
}
pub mod snapshots {
pub mod v1beta1 {
include_proto!("cosmos.base.snapshots.v1beta1.rs");
#[cfg(feature = "serde")]
include_proto!("cosmos.base.snapshots.v1beta1.serde.rs");
}
}
}
pub mod crypto {
pub mod multisig {
Expand Down
2 changes: 1 addition & 1 deletion src/prost/cosmos.app.v1alpha1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct PackageReference {
///
/// When a new version of a module is released and items are added to existing
/// .proto files, these definitions should contain comments of the form
/// "Since Revision N" where N is an integer revision.
/// "Since: Revision N" where N is an integer revision.
///
/// When the module runtime starts up, it will check the pinned proto
/// image and panic if there are runtime protobuf definitions that are not
Expand Down
Loading
Loading