Skip to content

Commit 40a8a0f

Browse files
authored
Add cw-multi-test 0.21 with packet timeouts (#339)
* Updated versions, fixed deps * Added changelog
1 parent 9a39c88 commit 40a8a0f

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# cw-orchestrator Changelog
22

3+
## 0.21.0
4+
5+
- Updated cw-multi-test to allow for IBC packet timeout
6+
37
## 0.20.1
48

59
- Fix ARM path derivation for wasm

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/AbstractSDK/cw-orchestrator"
1111
[workspace.dependencies]
1212
cw-utils = { version = "1.0.1" }
1313
cosmwasm-std = { version = "1.1" }
14-
cw-multi-test = { package = "abstract-cw-multi-test", version = "0.20.2", features = [
14+
cw-multi-test = { package = "abstract-cw-multi-test", version = "0.21.0", features = [
1515
"cosmwasm_1_4",
1616
] }
1717
cw20 = { package = "abstract-cw20", version = "1.2.2" }
@@ -24,9 +24,9 @@ anyhow = "1.0"
2424
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
2525

2626
cw-orch-daemon = { path = "./cw-orch-daemon", version = "0.20.0" }
27-
cw-orch-core = { path = "packages/cw-orch-core", version = "0.20.1" }
27+
cw-orch-core = { path = "packages/cw-orch-core", version = "0.21.1" }
2828
cw-orch-traits = { path = "packages/cw-orch-traits", version = "0.20.0" }
29-
cw-orch-mock = { path = "packages/cw-orch-mock", version = "0.20.0" }
29+
cw-orch-mock = { path = "packages/cw-orch-mock", version = "0.21.0" }
3030
cw-orch-contract-derive = { path = "packages/cw-orch-contract-derive", version = "0.20.0" }
3131
cw-orch-fns-derive = { path = "packages/cw-orch-fns-derive", version = "0.18.0" }
3232
cw-orch-networks = { path = "packages/cw-orch-networks", version = "0.20.0" }

contracts/counter/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ serde_json = "1.0.79"
2626
cw-orch = { path = "../../cw-orch", optional = true, features = ["daemon"] }
2727

2828
[dev-dependencies]
29-
cw-multi-test = { workspace = true }
3029
counter-contract = { path = ".", features = ["interface"] }
3130
# Deps for deployment
3231
dotenv = { version = "0.15.0" }

contracts/counter/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn count() -> anyhow::Result<()> {
5757
assert_eq!(count.count, 0);
5858

5959
// Check negative case
60-
let exec_res: Result<cw_multi_test::AppResponse, CwOrchError> =
60+
let exec_res: Result<cw_orch::mock::cw_multi_test::AppResponse, CwOrchError> =
6161
contract.call_as(&user).reset(0);
6262

6363
let expected_err = ContractError::Unauthorized {};

cw-orch/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw-orch"
3-
version = "0.20.1"
3+
version = "0.21.0"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
license = { workspace = true }
@@ -77,7 +77,6 @@ cw-orch-fns-derive = { workspace = true }
7777

7878
cosmwasm-std = { workspace = true }
7979
cw-utils = { workspace = true }
80-
cw-multi-test = { workspace = true }
8180
anyhow = { workspace = true }
8281
serde = { workspace = true }
8382
schemars = "0.8.10"

cw-orch/src/osmosis_test_tube/core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use cosmwasm_std::{coin, Addr, Coins};
55
use cw_orch_core::environment::{BankQuerier, BankSetter, DefaultQueriers};
66
use cw_orch_traits::stargate::Stargate;
77

8+
use crate::mock::cw_multi_test::AppResponse;
89
use cosmwasm_std::{Binary, Coin, Uint128};
9-
use cw_multi_test::AppResponse;
1010
use osmosis_test_tube::{
1111
Account, Bank, ExecuteResponse, Gamm, Module, Runner, RunnerError, SigningAccount, Wasm,
1212
};

cw-orch/src/osmosis_test_tube/queriers/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::{cell::RefCell, rc::Rc};
22

3+
use crate::mock::cw_multi_test::AppResponse;
34
use cosmwasm_std::{BlockInfo, Timestamp};
4-
use cw_multi_test::AppResponse;
55
use cw_orch_core::{
66
environment::{NodeQuerier, Querier, QuerierGetter, StateInterface},
77
CwEnvError,

cw-orch/src/prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ pub use crate::error::CwOrchError;
4444
pub use crate::contract::{ArtifactsDir, WasmPath};
4545

4646
// re-export as it is used in the public API
47+
pub use crate::mock::cw_multi_test::{Contract as MockContract, ContractWrapper};
4748
pub use cosmwasm_std::{Addr, Coin, Empty};
48-
pub use cw_multi_test::{Contract as MockContract, ContractWrapper};
4949

5050
// builder, core type, networks mod, queriers mod, traits
5151
#[cfg(feature = "daemon")]

cw-orch/src/snapshots.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ macro_rules! take_storage_snapshot {
5050

5151
#[cfg(test)]
5252
pub mod tests {
53+
use crate::mock::cw_multi_test::ContractWrapper;
5354
use cosmwasm_std::Empty;
54-
use cw_multi_test::ContractWrapper;
5555
use cw_orch::prelude::{CwOrchInstantiate, CwOrchUpload, Mock};
5656
use cw_orch_core::{
5757
contract::{interface_traits::Uploadable, WasmPath},

packages/cw-orch-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw-orch-core"
3-
version = "0.20.3"
3+
version = "0.21.1"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
license = { workspace = true }

packages/cw-orch-mock/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cw-orch-mock"
3-
version = "0.20.4"
3+
version = "0.21.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true

0 commit comments

Comments
 (0)