-
Notifications
You must be signed in to change notification settings - Fork 1
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
23 changed files
with
1,736 additions
and
7,091 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,21 +1,35 @@ | ||
[workspace] | ||
members = ["contracts/*"] | ||
members = [ "contracts/*" ] | ||
resolver = "2" | ||
|
||
[profile.release.package.injective-cosmwasm] | ||
codegen-units = 1 | ||
incremental = false | ||
[workspace.package] | ||
edition = "2021" | ||
|
||
[workspace.dependencies] | ||
cosmwasm-schema = { version = "2.1.1" } | ||
cosmwasm-std = { version = "2.1.0", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "iterator", "stargate" ] } | ||
cw-multi-test = { version = "0.16.2" } | ||
cw-storage-plus = { version = "2.0.0" } | ||
cw-utils = { version = "2.0.0" } | ||
cw2 = { version = "2.0.0" } | ||
injective-cosmwasm = { version = "0.3.0" } | ||
injective-math = { version = "0.3.0" } | ||
injective-std = { version = "1.13.0" } | ||
injective-test-tube = { version = "1.13.2" } | ||
prost = { version = "0.12.6" } | ||
schemars = { version = "0.8.16", features = [ "enumset" ] } | ||
serde = { version = "1.0.193", default-features = false, features = [ "derive" ] } | ||
serde-json-wasm = { version = "1.0.1" } | ||
serde_json = { version = "1.0.120" } | ||
thiserror = { version = "1.0.52" } | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
debug = false | ||
rpath = false | ||
lto = true | ||
codegen-units = 1 | ||
debug = false | ||
debug-assertions = false | ||
codegen-units = 1 | ||
panic = 'abort' | ||
incremental = false | ||
overflow-checks = true | ||
|
||
[patch.crates-io] | ||
#cw-multi-test = { path = "../cw-multi-test" } | ||
#cw-multi-test = { git = "https://github.com/InjectiveLabs/cw-multi-test.git", branch ="feature/custom_address_generator" } | ||
incremental = false | ||
lto = true | ||
opt-level = 3 | ||
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 +2,7 @@ | |
authors = [ "Markus Waas <[email protected]>" ] | ||
edition = "2021" | ||
name = "swap-contract" | ||
version = "1.0.2" | ||
version = "1.1.0" | ||
|
||
exclude = [ | ||
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. | ||
|
@@ -16,38 +16,25 @@ exclude = [ | |
crate-type = [ "cdylib", "rlib" ] | ||
|
||
[features] | ||
# for more explicit tests, cargo test --features=backtraces | ||
backtraces = [ "cosmwasm-std/backtraces" ] | ||
# use library feature to disable all instantiate/execute/query exports | ||
library = [ ] | ||
|
||
[package.metadata.scripts] | ||
optimize = """docker run --rm -v "$(pwd)":/code \ | ||
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \ | ||
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ | ||
cosmwasm/workspace-optimizer-arm64:0.12.11 | ||
""" | ||
|
||
[dependencies] | ||
cosmwasm-std = { version = "1.5.0", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "iterator", "stargate" ] } | ||
cosmwasm-storage = "1.5.0" | ||
cw-storage-plus = "0.14.0" | ||
cw-utils = "0.14.0" | ||
cw2 = "0.14.0" | ||
injective-cosmwasm = { version = "0.2.18" } | ||
injective-math = { version = "0.2.4" } | ||
injective-protobuf = { version = "0.2.2" } | ||
num-traits = "0.2.15" | ||
protobuf = { version = "2", features = [ "with-bytes" ] } | ||
schemars = "0.8.8" | ||
serde = { version = "1.0.137", default-features = false, features = [ "derive" ] } | ||
serde-json-wasm = "1.0.1" | ||
thiserror = { version = "1.0.31" } | ||
cosmwasm-schema = { workspace = true } | ||
cosmwasm-std = { workspace = true } | ||
cw-storage-plus = { workspace = true } | ||
cw-utils = { workspace = true } | ||
cw2 = { workspace = true } | ||
injective-cosmwasm = { workspace = true } | ||
injective-math = { workspace = true } | ||
injective-std = { workspace = true } | ||
prost = { workspace = true } | ||
schemars = { workspace = true } | ||
serde = { workspace = true } | ||
serde-json-wasm = { workspace = true } | ||
thiserror = { workspace = true } | ||
|
||
[dev-dependencies] | ||
cosmos-sdk-proto = { version = "0.19.0", default-features = false } | ||
cosmwasm-schema = "1.5.0" | ||
cw-multi-test = "0.16.2" | ||
injective-std = { version = "0.1.5" } | ||
injective-test-tube = "1.1.7" | ||
prost = "0.11.9" | ||
cosmwasm-schema = { workspace = true } | ||
# cw-multi-test = { workspace = true } | ||
injective-std = { workspace = true } | ||
injective-test-tube = { workspace = true } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.