Skip to content

Introduce hermes-prelude as a proxy crate for cgp::prelude #600

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

Merged
merged 3 commits into from
Apr 28, 2025
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
resolver = "2"

members = [
"crates/prelude",
"crates/core",

"crates/chain/chain-components",
Expand Down Expand Up @@ -89,6 +90,7 @@ tendermint-light-client = { version = "0.40" }
basecoin = { version = "0.2.0" }
bitcoin = { version = "0.31.2" }
cgp = { version = "0.4.0", default-features = false }
cgp-async = { version = "0.4.0" }
clap = { version = "4.5.20" }
dirs-next = { version = "2.0.0" }
num-bigint = { version = "0.4" }
Expand Down Expand Up @@ -127,7 +129,8 @@ sha2 = { version = "0.10.8" }
secp256k1 = { version = "0.28.2" }
ics23 = { version = "0.12" }

hermes-core = { version = "0.1.0" }
hermes-core = { version = "0.1.0" }
hermes-prelude = { version = "0.1.0" }

hermes-runtime-components = { version = "0.1.0" }
hermes-async-runtime-components = { version = "0.1.0" }
Expand Down Expand Up @@ -200,7 +203,8 @@ cgp-runtime = { git = "https://github.com/contextgeneric/cgp.git" }
cgp-sync = { git = "https://github.com/contextgeneric/cgp.git" }
cgp-inner = { git = "https://github.com/contextgeneric/cgp.git" }

hermes-core = { path = "./crates/core" }
hermes-core = { path = "./crates/core" }
hermes-prelude = { path = "./crates/prelude" }

hermes-chain-components = { path = "./crates/chain/chain-components" }
hermes-chain-type-components = { path = "./crates/chain/chain-type-components" }
Expand Down
7 changes: 4 additions & 3 deletions crates/any/any-counterparty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ hermes-cosmos-chain-preset = { workspace = true }
hermes-encoding-components = { workspace = true }
hermes-protobuf-encoding-components = { workspace = true }

cgp = { workspace = true }
ibc = { workspace = true }
serde = { workspace = true, features = [ "derive" ] }
cgp = { workspace = true }
hermes-prelude = { workspace = true }
ibc = { workspace = true }
serde = { workspace = true, features = [ "derive" ] }
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use cgp::core::component::UseDelegate;
use cgp::core::error::{ErrorRaiserComponent, ErrorTypeProviderComponent};
use cgp::prelude::*;
use hermes_cosmos_chain_components::encoding::CosmosClientEncodingComponents;
use hermes_cosmos_chain_components::impls::ProvideCosmosChainTypes;
use hermes_cosmos_chain_components::types::TendermintClientState;
Expand All @@ -16,6 +15,7 @@ pub use hermes_encoding_components::traits::{SchemaGetterComponent, SchemaTypeCo
use hermes_encoding_components::types::AsBytes;
use hermes_error::handlers::DebugError;
use hermes_error::impls::UseHermesError;
use hermes_prelude::*;
use hermes_protobuf_encoding_components::traits::EncodedLengthGetterComponent;
use hermes_protobuf_encoding_components::types::any::Any;
use hermes_protobuf_encoding_components::types::strategy::ViaProtobuf;
Expand Down
Loading
Loading