Skip to content

Commit

Permalink
great refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Nov 25, 2023
1 parent ab34ebb commit 8e07fff
Show file tree
Hide file tree
Showing 49 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ num = { version = "^0.4.1", default-features = false }
enumn = { version = "0.1.12" }
ibc = { version = "^0.48.0", default-features = false }
prost-build = { version = "^0.12.2" }
bech32 = { version = "^0.9.1", default-features = false, features = ["alloc"] }
bech32 = { version = "^0.9.1", default-features = false }
cosmwasm-std = { version = "^1.5.0", features = [
"iterator",
], default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions contracts/cosmwasm/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ crate-type = ["cdylib", "rlib"]

[features]
library = []
std = ["xc-core/std", "dep:cosmwasm-schema", "dep:serde_json"]
std = ["cvm-runtime/std", "dep:cosmwasm-schema", "dep:serde_json"]
default = ["std"]

[dependencies]
Expand All @@ -30,6 +30,6 @@ serde-json-wasm = { workspace = true }
serde-cw-value = { workspace = true }
thiserror = { workspace = true }
prost = { workspace = true, features = ["prost-derive"] }
xc-core = { path = "../../../lib/core", features = [
cvm-runtime = { path = "../../../crates/cvm-runtime", features = [
"cosmwasm",
], default-features = false }
5 changes: 3 additions & 2 deletions contracts/cosmwasm/gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true

[features]
library = []
std = ["cw-xc-executor/std", "xc-core/std"]
std = ["cw-xc-executor/std", "cvm-runtime/std"]
default = ["std"]

[dependencies]
Expand All @@ -34,7 +34,8 @@ thiserror = { workspace = true }
cw-xc-executor = { path = "../executor", features = [
"library",
], default-features = false }
xc-core = { path = "../../../lib/core", features = [

cvm-runtime = { path = "../../../crates/cvm-runtime", features = [
"cosmwasm",
], default-features = false }
prost = { workspace = true, default-features = false }
File renamed without changes.
4 changes: 2 additions & 2 deletions crates/cw-cvm/Cargo.toml → crates/cvm-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
authors = ["Composable Developers"]
edition = "2021"
homepage = "https://composable.finance"
name = "xc-core"
name = "cvm-runtime"
description = "CVM runner on various chains"
version = "0.1.0"

[dependencies]
Expand Down Expand Up @@ -44,7 +45,6 @@ xcm = ["dep:xcm"]
cosmwasm = ["cw-storage-plus", "cw20"]
substrate = ["xcm"]
std = [
"cosmwasm-std/std",
"cw-storage-plus/std",
"dep:cosmwasm-schema",
"dep:schemars",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8e07fff

Please sign in to comment.