-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,166 additions
and
1,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,43 +2,43 @@ | |
resolver = "2" | ||
# members sorted by publishing order to `crates.io` | ||
members = [ | ||
"ibc-derive", | ||
"ibc-primitives", | ||
"ibc-core/ics24-host/types", | ||
"ibc-core/ics26-routing/types", | ||
"ibc-core/ics23-commitment/types", | ||
"ibc-core/ics02-client/types", | ||
"ibc-core/ics03-connection/types", | ||
"ibc-core/ics04-channel/types", | ||
"ibc-core/ics25-handler/types", | ||
"ibc-core/ics02-client/context", | ||
"ibc-core/ics24-host", | ||
"ibc-core/ics26-routing", | ||
"ibc-core/ics02-client", | ||
"ibc-core/ics03-connection", | ||
"ibc-core/ics04-channel", | ||
"ibc-core/ics25-handler", | ||
"ibc-core", | ||
"ibc-clients/ics07-tendermint/types", | ||
"ibc-clients/ics07-tendermint", | ||
"ibc-clients/ics08-wasm/types", | ||
"ibc-clients/cw-context", | ||
"ibc-clients/ics07-tendermint/cw-contract", | ||
"ibc-clients", | ||
"ibc-apps/ics20-transfer/types", | ||
"ibc-apps/ics20-transfer", | ||
"ibc-apps/ics721-nft-transfer/types", | ||
"ibc-apps/ics721-nft-transfer", | ||
"ibc-apps", | ||
"ibc-core/ics24-host/cosmos", | ||
"ibc-data-types", | ||
"ibc", | ||
"ibc-query", | ||
"ibc-testkit", | ||
"ibc-derive", | ||
"ibc-primitives", | ||
"ibc-core/ics24-host/types", | ||
"ibc-core/ics26-routing/types", | ||
"ibc-core/ics23-commitment/types", | ||
"ibc-core/ics02-client/types", | ||
"ibc-core/ics03-connection/types", | ||
"ibc-core/ics04-channel/types", | ||
"ibc-core/ics25-handler/types", | ||
"ibc-core/ics02-client/context", | ||
"ibc-core/ics24-host", | ||
"ibc-core/ics26-routing", | ||
"ibc-core/ics02-client", | ||
"ibc-core/ics03-connection", | ||
"ibc-core/ics04-channel", | ||
"ibc-core/ics25-handler", | ||
"ibc-core", | ||
"ibc-clients/ics07-tendermint/types", | ||
"ibc-clients/ics07-tendermint", | ||
"ibc-clients/ics08-wasm/types", | ||
"ibc-clients/cw-context", | ||
"ibc-clients/ics07-tendermint/cw-contract", | ||
"ibc-clients", | ||
"ibc-apps/ics20-transfer/types", | ||
"ibc-apps/ics20-transfer", | ||
"ibc-apps/ics721-nft-transfer/types", | ||
"ibc-apps/ics721-nft-transfer", | ||
"ibc-apps", | ||
"ibc-core/ics24-host/cosmos", | ||
"ibc-data-types", | ||
"ibc", | ||
"ibc-query", | ||
"ibc-testkit", | ||
] | ||
exclude = [ | ||
"ci/cw-check", | ||
"ci/no-std-check", | ||
"ci/cw-check", | ||
"ci/no-std-check", | ||
] | ||
|
||
[workspace.package] | ||
|
@@ -48,45 +48,45 @@ edition = "2021" | |
rust-version = "1.71.1" | ||
readme = "README.md" | ||
repository = "https://github.com/cosmos/ibc-rs" | ||
authors = ["Informal Systems <[email protected]>"] | ||
authors = [ "Informal Systems <[email protected]>" ] | ||
|
||
[workspace.dependencies] | ||
# external dependencies | ||
base64 = { version = "0.21", default-features = false } | ||
borsh = { version = "0.10", default-features = false } | ||
displaydoc = { version = "0.2", default-features = false } | ||
prost = { version = "0.12", default-features = false } | ||
derive_more = { version = "0.99.17", default-features = false, features = ["from", "into", "display", "try_into"] } | ||
rstest = { version = "0.18.2"} | ||
schemars = { version = "0.8.15" } | ||
sha2 = { version = "0.10.8", default-features = false } | ||
serde = { version = "1.0", default-features = false } | ||
serde_json = { package = "serde-json-wasm", version = "1.0.1", default-features = false } | ||
subtle-encoding = { version = "0.5", default-features = false } | ||
base64 = { version = "0.21", default-features = false } | ||
borsh = { version = "0.10", default-features = false } | ||
displaydoc = { version = "0.2", default-features = false } | ||
prost = { version = "0.12", default-features = false } | ||
derive_more = { version = "0.99.17", default-features = false, features = [ "from", "into", "display", "try_into" ] } | ||
rstest = { version = "0.18.2" } | ||
schemars = { version = "0.8.15" } | ||
sha2 = { version = "0.10.8", default-features = false } | ||
serde = { version = "1.0", default-features = false } | ||
serde_json = { package = "serde-json-wasm", version = "1.0.1", default-features = false } | ||
subtle-encoding = { version = "0.5", default-features = false } | ||
|
||
# ibc dependencies | ||
ibc = { version = "0.52.0", path = "./ibc", default-features = false } | ||
ibc-core = { version = "0.52.0", path = "./ibc-core", default-features = false } | ||
ibc-clients = { version = "0.52.0", path = "./ibc-clients", default-features = false } | ||
ibc-apps = { version = "0.52.0", path = "./ibc-apps", default-features = false } | ||
ibc-primitives = { version = "0.52.0", path = "./ibc-primitives", default-features = false } | ||
ibc-testkit = { version = "0.52.0", path = "./ibc-testkit", default-features = false } | ||
ibc = { version = "0.52.0", path = "./ibc", default-features = false } | ||
ibc-core = { version = "0.52.0", path = "./ibc-core", default-features = false } | ||
ibc-clients = { version = "0.52.0", path = "./ibc-clients", default-features = false } | ||
ibc-apps = { version = "0.52.0", path = "./ibc-apps", default-features = false } | ||
ibc-primitives = { version = "0.52.0", path = "./ibc-primitives", default-features = false } | ||
ibc-testkit = { version = "0.52.0", path = "./ibc-testkit", default-features = false } | ||
|
||
ibc-derive = { version = "0.7.0", path = "./ibc-derive" } | ||
ibc-derive = { version = "0.7.0", path = "./ibc-derive" } | ||
|
||
ibc-core-client = { version = "0.52.0", path = "./ibc-core/ics02-client", default-features = false } | ||
ibc-core-connection = { version = "0.52.0", path = "./ibc-core/ics03-connection", default-features = false } | ||
ibc-core-channel = { version = "0.52.0", path = "./ibc-core/ics04-channel", default-features = false } | ||
ibc-core-host = { version = "0.52.0", path = "./ibc-core/ics24-host", default-features = false } | ||
ibc-core-handler = { version = "0.52.0", path = "./ibc-core/ics25-handler", default-features = false } | ||
ibc-core-router = { version = "0.52.0", path = "./ibc-core/ics26-routing", default-features = false } | ||
ibc-core-client = { version = "0.52.0", path = "./ibc-core/ics02-client", default-features = false } | ||
ibc-core-connection = { version = "0.52.0", path = "./ibc-core/ics03-connection", default-features = false } | ||
ibc-core-channel = { version = "0.52.0", path = "./ibc-core/ics04-channel", default-features = false } | ||
ibc-core-host = { version = "0.52.0", path = "./ibc-core/ics24-host", default-features = false } | ||
ibc-core-handler = { version = "0.52.0", path = "./ibc-core/ics25-handler", default-features = false } | ||
ibc-core-router = { version = "0.52.0", path = "./ibc-core/ics26-routing", default-features = false } | ||
|
||
ibc-client-cw = { version = "0.52.0", path = "./ibc-clients/cw-context", default-features = false } | ||
ibc-client-tendermint = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint", default-features = false } | ||
ibc-client-tendermint-cw = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false } | ||
ibc-client-cw = { version = "0.52.0", path = "./ibc-clients/cw-context", default-features = false } | ||
ibc-client-tendermint = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint", default-features = false } | ||
ibc-client-tendermint-cw = { version = "0.52.0", path = "./ibc-clients/ics07-tendermint/cw-contract", default-features = false } | ||
|
||
ibc-app-transfer = { version = "0.52.0", path = "./ibc-apps/ics20-transfer", default-features = false } | ||
ibc-app-nft-transfer = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false } | ||
ibc-app-transfer = { version = "0.52.0", path = "./ibc-apps/ics20-transfer", default-features = false } | ||
ibc-app-nft-transfer = { version = "0.52.0", path = "./ibc-apps/ics721-nft-transfer", default-features = false } | ||
|
||
ibc-core-client-context = { version = "0.52.0", path = "./ibc-core/ics02-client/context", default-features = false } | ||
ibc-core-client-types = { version = "0.52.0", path = "./ibc-core/ics02-client/types", default-features = false } | ||
|
@@ -116,11 +116,11 @@ tendermint-testgen = { version = "0.36.0", default-features = fals | |
### Note: Kept at the following version to match the CosmWasm module version | ||
### used by chains supporting the wasm-enabled version of ibc-go v7.3 | ||
### (This is the min version of `ibc-go` that supports `08-wasm` light clients) | ||
cosmwasm-schema = { version = "1.5.4" } | ||
cosmwasm-std = { version = "1.5.4" } | ||
cosmwasm-vm = { version = "1.5.4" } | ||
cw-storage-plus = { version = "1.2.0" } | ||
cosmwasm-schema = { version = "1.5.4" } | ||
cosmwasm-std = { version = "1.5.4" } | ||
cosmwasm-vm = { version = "1.5.4" } | ||
cw-storage-plus = { version = "1.2.0" } | ||
|
||
# parity dependencies | ||
parity-scale-codec = { version = "3.6.5", default-features = false, features = ["full"] } | ||
scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } | ||
parity-scale-codec = { version = "3.6.5", default-features = false, features = [ "full" ] } | ||
scale-info = { version = "2.10.0", default-features = false, features = [ "derive" ] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
[package] | ||
edition = "2021" | ||
name = "cw-check" | ||
name = "cw-check" | ||
version = "0.1.0" | ||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
crate-type = [ "cdylib", "rlib" ] | ||
|
||
[dependencies] | ||
ibc-apps = { path = "../../ibc-apps", default_features = false, features = ["serde", "parity-scale-codec"] } | ||
ibc-core = { path = "../../ibc-core", features = ["serde", "parity-scale-codec", "schema"] } | ||
cosmwasm-std = { version = "1.5.4", default-features = false } | ||
ibc-apps = { path = "../../ibc-apps", default_features = false, features = [ "serde", "parity-scale-codec" ] } | ||
ibc-core = { path = "../../ibc-core", features = [ "serde", "parity-scale-codec", "schema" ] } | ||
cosmwasm-std = { version = "1.5.4", default-features = false } | ||
cosmwasm-schema = { version = "1.5.4", default-features = false } | ||
serde_json = { package = "serde-json-wasm", version = "^1.0.1", default-features = false } | ||
thiserror = { version = "^1.0", default-features = false } | ||
serde_json = { package = "serde-json-wasm", version = "^1.0.1", default-features = false } | ||
thiserror = { version = "^1.0", default-features = false } | ||
|
||
[profile.release] | ||
lto = true | ||
codegen-units = 1 | ||
debug = false | ||
lto = true | ||
codegen-units = 1 | ||
debug = false | ||
debug-assertions = false | ||
opt-level = "s" | ||
overflow-checks = true | ||
panic = "abort" | ||
rpath = false | ||
opt-level = "s" | ||
overflow-checks = true | ||
panic = "abort" | ||
rpath = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
[package] | ||
name = "no-std-check" | ||
version = "0.1.0" | ||
edition = "2021" | ||
name = "no-std-check" | ||
version = "0.1.0" | ||
edition = "2021" | ||
resolver = "2" | ||
|
||
[dependencies] | ||
ibc = { path = "../../ibc", default-features = false, features = ["serde"] } | ||
ibc = { path = "../../ibc", default-features = false, features = [ "serde" ] } | ||
ibc-proto = { version = "0.44", default-features = false, features = [ | ||
"parity-scale-codec", | ||
"borsh", | ||
"serde", | ||
] } | ||
tendermint = { version = "0.36", default-features = false } | ||
tendermint-proto = { version = "0.36", default-features = false } | ||
tendermint-light-client-verifier = { version = "0.36", default-features = false, features = ["rust-crypto"] } | ||
tendermint-light-client-verifier = { version = "0.36", default-features = false, features = [ "rust-crypto" ] } | ||
|
||
sp-core = { version = "32.0", default-features = false, optional = true } | ||
sp-io = { version = "34.0", default-features = false, optional = true } | ||
sp-core = { version = "32.0", default-features = false, optional = true } | ||
sp-io = { version = "34.0", default-features = false, optional = true } | ||
sp-runtime = { version = "35.0", default-features = false, optional = true } | ||
sp-std = { version = "14.0", default-features = false, optional = true } | ||
sp-std = { version = "14.0", default-features = false, optional = true } | ||
|
||
# The indirect dependency `syn` 2.0.4 has a bug that causes | ||
# compilation errors in `tendermint`. This is fixed in 2.0.5. | ||
# See https://github.com/informalsystems/tendermint-rs/issues/1286 | ||
syn = ">=2.0.5" | ||
|
||
[features] | ||
panic-handler = [] | ||
use-substrate = ["sp-core", "sp-io", "sp-runtime", "sp-std"] | ||
substrate-std = ["sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std"] | ||
panic-handler = [ ] | ||
use-substrate = [ "sp-core", "sp-io", "sp-runtime", "sp-std" ] | ||
substrate-std = [ "sp-core/std", "sp-io/std", "sp-runtime/std", "sp-std/std" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.