Skip to content

Commit

Permalink
fix: bump cw-it version
Browse files Browse the repository at this point in the history
  • Loading branch information
ApolloGie committed Jul 15, 2024
1 parent 29faa08 commit 9f2503f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
Empty file added Cargo.
Empty file.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ serde = { version = "1.0.145", default-features = false, features = ["derive"] }
thiserror = { version = "1.0.31" }
apollo-cw-asset = "0.1.1"
osmosis-std = "0.22.0"
cw-it = { git = "https://github.com/apollodao/cw-it.git", branch = "dev/astroport-native-lp-tokens"}
cw-it = { git = "https://github.com/apollodao/cw-it.git", rev = "aa46a97c9fb7768842453a045a8eb44d381fc09b"}
apollo-utils = "0.1.0"
astroport = "2.9.0"
astroport_v5 = { package = "astroport", version = "5.1.0" }
Expand Down
10 changes: 7 additions & 3 deletions cw-dex-astroport/tests/astroport_tests.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
mod tests {
use apollo_cw_asset::{Asset, AssetInfo, AssetInfoBase, AssetList};
use apollo_cw_multi_test::BasicAppBuilder;
use apollo_cw_multi_test::{AppBuilder, BasicAppBuilder};

Check failure on line 3 in cw-dex-astroport/tests/astroport_tests.rs

View workflow job for this annotation

GitHub Actions / Test Suite

unused import: `BasicAppBuilder`
use apollo_cw_multi_test::{
BankKeeper, DistributionKeeper, FailingModule, StakeKeeper, WasmKeeper,
};
Expand Down Expand Up @@ -47,7 +47,8 @@ mod tests {
// .with_api(MockApiBech32::new("osmo"))
// .build(|_, _, _| {});
// BasicAppBuilder::construct(api, block, storage, bank, wasm, custom, staking, distribution, ibc, gov, stargate)
let app = BasicAppBuilder::construct(
// Construct the App using the AppBuilder
let app = AppBuilder::construct(
MockApiBech32::new("osmo"),
mock_env().block,
MockStorage::new(),
Expand All @@ -61,10 +62,13 @@ mod tests {
stargate_keeper,
)
.build(|_, _, _| {});
let multi_test_runner = MultiTestRunner {

// Instantiate MultiTestRunner with the constructed app
let multi_test_runner = MultiTestRunner::<BankKeeper, MockApiBech32> {
app,
address_prefix: "osmo",
};

OwnedTestRunner::MultiTest(multi_test_runner)

Check failure on line 72 in cw-dex-astroport/tests/astroport_tests.rs

View workflow job for this annotation

GitHub Actions / Test Suite

mismatched types
}
#[cfg(feature = "osmosis-test-tube")]
Expand Down

0 comments on commit 9f2503f

Please sign in to comment.