Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ overflow-checks = true # Disable integer overflow checks.

[workspace.dependencies]
cosmwasm-schema = "2.1.1"
cosmwasm-std = { version = "2.1.1", features = ["stargate", "cosmwasm_2_0"] }
cosmwasm-std = { version = "2.1.1", features = ["cosmwasm_2_0"] }
cw2 = "2.0.0"
cw-storage-plus = "2.0.0"
cw-utils = "2.0.0"
Expand All @@ -29,6 +29,6 @@ rsa = { version = "0.9.2" }
getrandom = { version = "0.2.10", features = ["custom"] }
p256 = {version = "0.13.2", features = ["ecdsa-core", "arithmetic", "serde"]}
prost = {version = "0.13.1", default-features = false, features = ["prost-derive"]}
cosmos-sdk-proto = {git = "https://github.com/burnt-labs/cosmos-rust.git", rev = "ba87a886e16f24056e5d2e0c2e07fc958f551a5e", default-features = false, features = ["std", "cosmwasm", "xion"]}
cosmos-sdk-proto = {git = "https://github.com/burnt-labs/cosmos-rust.git", rev = "1dafd5eb36f3d3ee5100fb8f331c2640badc13f2", default-features = false, features = ["std", "cosmwasm", "xion", "tokenfactory"]}
prost-types = "0.13.1"
pbjson-types = "0.7.0"
4 changes: 2 additions & 2 deletions contracts/account/src/auth/jwt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use base64::engine::general_purpose::URL_SAFE_NO_PAD;
use base64::Engine as _;
use cosmos_sdk_proto::xion::v1::jwk::QueryValidateJwtRequest;
use cosmwasm_schema::cw_serde;
use cosmwasm_std::{Binary, Deps, to_json_binary};
use cosmwasm_std::{to_json_binary, Binary, Deps};
use serde::{Deserialize, Serialize};
use std::str;

Expand Down Expand Up @@ -43,7 +43,7 @@ pub fn verify(
sig_bytes: String::from_utf8(sig_bytes.into())?,
// tx_hash: challenge,
};
let grpc_query = cosmwasm_std::GrpcQuery{
let grpc_query = cosmwasm_std::GrpcQuery {
path: String::from("/xion.jwk.v1.Query/ValidateJWT"),
data: to_json_binary(&query)?,
};
Expand Down
18 changes: 18 additions & 0 deletions contracts/tf20/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
name = "tf20"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
cw2 = { workspace = true }
cw-storage-plus = { workspace = true }
cw-utils = { workspace = true}
cosmos-sdk-proto = {workspace = true}
cw20 = "2.0.0"
cw20-base = { version = "2.0.0", features = ["library"] }
cw-controllers = "2.0.0"
thiserror = { workspace = true }
Loading