Skip to content

Commit

Permalink
test: add auction tests and some clean ups
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgos committed Apr 26, 2024
1 parent 7295a31 commit 1585aa2
Show file tree
Hide file tree
Showing 10 changed files with 173 additions and 257 deletions.
152 changes: 15 additions & 137 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 10 additions & 12 deletions contracts/injective-cosmwasm-mock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ crate-type = [ "cdylib", "rlib" ]
# for more explicit tests, cargo test --features=backtraces
backtraces = [ "cosmwasm-std/backtraces" ]
# use library feature to disable all instantiate/execute/query exports
library = [ ]
integration = [ ]
library = [ ]

[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code \
Expand All @@ -30,24 +30,22 @@ optimize = """docker run --rm -v "$(pwd)":/code \
"""

[dependencies]
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
cosmwasm-schema = { version = "1.5.0" }
cosmwasm-std = { version = "1.5.0", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "iterator", "stargate" ] }
cw-storage-plus = { version = "1.2.0" }
cw2 = { version = "0.16.0" }
injective-cosmwasm = { path = "../../packages/injective-cosmwasm" }
injective-math = { path = "../../packages/injective-math" }
injective-protobuf = { path = "../../packages/injective-protobuf"}
schemars = { version ="0.8.16"}
injective-protobuf = { path = "../../packages/injective-protobuf" }
injective-std = { path = "../../packages/injective-std" }
prost = { version = "0.12.3" }
protobuf = { version = "3.3.0" }
schemars = { version = "0.8.16" }
serde = { version = "1.0.196", default-features = false, features = [ "derive" ] }
thiserror = { version = "1.0.56" }
protobuf = { version = "3.3.0" }
prost = { version = "0.11.9" }
injective-std = { version = "0.1.5" }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
cosmwasm-schema = { version = "1.5.0" }



[dev-dependencies]
injective-test-tube = { version = "1.1.7" }
injective-std = { version = "0.1.5" }
injective-std = { path = "../../packages/injective-std" }
injective-test-tube = { path = "/Users/markuswaas/work/injective/test-tube/packages/injective-test-tube" }
injective-testing = { version = "0.1.6" }
24 changes: 11 additions & 13 deletions contracts/injective-cosmwasm-stargate-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ crate-type = [ "cdylib", "rlib" ]
# for more explicit tests, cargo test --features=backtraces
backtraces = [ "cosmwasm-std/backtraces" ]
# use library feature to disable all instantiate/execute/query exports
library = [ ]
integration = [ ]
library = [ ]

[package.metadata.scripts]
optimize = """docker run --rm -v "$(pwd)":/code \
Expand All @@ -30,26 +30,24 @@ optimize = """docker run --rm -v "$(pwd)":/code \
"""

[dependencies]
base64 = "0.21.5"
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
cosmwasm-schema = { version = "1.5.0" }
cosmwasm-std = { version = "1.5.0", features = [ "abort", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "iterator", "stargate" ] }
cw-storage-plus = { version = "1.2.0" }
cw2 = { version = "0.16.0" }
injective-cosmwasm = { path = "../../packages/injective-cosmwasm" }
injective-math = { path = "../../packages/injective-math" }
injective-protobuf = { path = "../../packages/injective-protobuf"}
schemars = { version ="0.8.16"}
injective-protobuf = { path = "../../packages/injective-protobuf" }
injective-std = { path = "../../packages/injective-std" }
prost = { version = "0.12.3" }
protobuf = { version = "3.3.0" }
schemars = { version = "0.8.16" }
serde = { version = "1.0.196", default-features = false, features = [ "derive" ] }
serde_json = "1.0.111"
thiserror = { version = "1.0.56" }
protobuf = { version = "3.3.0" }
prost = { version = "0.12.3" }
injective-std = { path = "../../packages/injective-std" }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
cosmwasm-schema = { version = "1.5.0" }
base64 = "0.21.5"
serde_json = "1.0.111"



[dev-dependencies]
injective-test-tube = { path = "/home/jose/RustroverProjects/test-tube/packages/injective-test-tube" }
injective-std = { path = "../../packages/injective-std" }
injective-test-tube = { path = "/Users/markuswaas/work/injective/test-tube/packages/injective-test-tube" }
injective-testing = { version = "0.1.6" }
Loading

0 comments on commit 1585aa2

Please sign in to comment.