Skip to content

Commit

Permalink
Bump to DeepSpace v0.27.0 for num256 v0.6 and secp256k1 v0.30
Browse files Browse the repository at this point in the history
Also imports clarity v1.5.1 which is itself just a num256 bump
  • Loading branch information
jkilpatr committed Nov 16, 2024
1 parent 641010c commit 957de35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "deep_space"
version = "2.26.0"
version = "2.27.0"
authors = ["Justin Kilpatrick <[email protected]>", "Michał Papierski <[email protected]>"]
repository = "https://github.com/althea-net/deep_space"
description = "A highly portable, batteries included, transaction generation and key management library for CosmosSDK blockchains"
license = "Apache-2.0"
edition = "2021"

[dependencies]
num256 = "0.5"
num256 = "0.6"
sha2 = "0.10"
num-traits = "0.2"
ripemd = "0.1"
Expand All @@ -24,12 +24,12 @@ pbkdf2 = {version = "0.12"}
hmac = {version = "0.12"}
rand = {version = "0.8"}
rust_decimal = "1.36"
secp256k1 = {version = "0.29", features = ["global-context"]}
secp256k1 = {version = "0.30", features = ["global-context"]}
tonic = {version = "0.12", features = ["gzip"]}
bytes = "1.7"
bytes = "1.8"
log = "0.4"
tokio = {version = "1", features=["time"]}
clarity = {version = "1.4", optional = true}
clarity = {version = "1.5", optional = true}
sha3 = {version = "0.10", optional = true}

cosmos-sdk-proto = {package = "cosmos-sdk-proto-althea", version = "0.18"}
Expand Down
3 changes: 2 additions & 1 deletion src/client/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ impl Contact {
/// account_number: 0,
/// chain_id: "mychainid".to_string(),
/// fee,
/// tip: None,
/// timeout_height: 100,
/// };
/// let tx = private_key.sign_std_msg(&[msg], args, "").unwrap();
Expand Down Expand Up @@ -141,7 +142,7 @@ impl Contact {
/// let msg = Msg::new(SECP256K1_PUBKEY_TYPE_URL, send);
/// let contact = Contact::new("https:://your-grpc-server", Duration::from_secs(5), "prefix").unwrap();
/// // future must be awaited in tokio runtime
/// contact.send_message(&vec![msg], None, &[coin], None, private_key);
/// contact.send_message(&vec![msg], None, &[coin], None, None, private_key);
/// ```
pub async fn send_message(
&self,
Expand Down

0 comments on commit 957de35

Please sign in to comment.