Skip to content

Commit

Permalink
updated xdr
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-soshte committed Mar 24, 2024
1 parent 55865fc commit 24281bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stellar-baselib"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "A low level Rust library that offers a comprehensive set of functions for reading, writing, hashing, and signing primitive XDR constructs utilized in the Stellar network"
license = "Apache-2.0"
Expand All @@ -22,7 +22,7 @@ rand_core = {version = "0.6.4", default-features = true, features = ["getrandom"
getrandom = { version = "0.2.10", features = ["js"] }
sha2 = "0.10.7"
stellar-strkey = "0.0.8"
stellar-xdr = { version = "20.0.0", default-features = true, features = ["base64", "std", "next", "serde", "alloc"] }
stellar-xdr = { version = "20.1.0", default-features = true, features = ["base64", "std", "next", "serde", "alloc"] }
hex-literal = "0.4.1"
num-traits = "0.2.15"
hyper = "0.14.27"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Add this to your Cargo.toml:

```toml
[dependencies]
stellar-baselib = "0.3.0"
stellar-baselib = "0.3.1"
```

And this to your code:
Expand Down
2 changes: 1 addition & 1 deletion src/op_list/invoke_host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod tests {
fn test_invoke_host_function() {
let contract_id = "CA3D5KRYM6CB7OWQ6TWYRR3Z4T7GNZLKERYNZGGA5SOAOPIFY6YQGAXE";
// let contract = Contracts::new(contract_id).expect("Failed to create contract");
let binding = hex::encode(contract_id.to_string());
let binding = hex::encode(contract_id);
let hex_id = binding.as_bytes();
let mut array = [0u8; 32];
array.copy_from_slice(&hex_id[0..32]);
Expand Down

0 comments on commit 24281bc

Please sign in to comment.