Skip to content

Commit

Permalink
style: remove commented code, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-sturdy committed Aug 26, 2024
1 parent d2b8c22 commit fdfe2a5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.2] - 2024-06-17
## [0.4.0-rc.10] - 2024-08-26

### Changed

Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cw-it"
version = "0.4.0-rc.9"
version = "0.4.0-rc.10"
authors = ["Pacman <[email protected]>", "Sturdy <[email protected]>"]
edition = "2021"
license = "MPL-2.0"
Expand Down Expand Up @@ -114,7 +114,7 @@ apollo-utils = { version = "0.1.1", optional = true }
regex = { version = "1.7.3", optional = true }

# Cw-multi-test deps
apollo-cw-multi-test = { version = "0.19.0-rc.1", features = ["stargate"], optional = true }
apollo-cw-multi-test = { version = "0.19.0", features = ["stargate"], optional = true }
bech32 = { version = "0.11.0", optional = true }
sha2 = { version = "0.10.8", optional = true }
paste = { version = "1.0.12", optional = true }
Expand Down
11 changes: 0 additions & 11 deletions src/astroport/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ where
fee_address: None,
generator_address: None, // TODO: Set this
owner: admin.address(),
// whitelist_code_id: code_ids["astroport_whitelist"],
whitelist_code_id: 0,
coin_registry_address: coin_registry.clone(),
tracker_config: None,
Expand Down Expand Up @@ -837,16 +836,6 @@ mod tests {
)
})
.collect::<HashMap<String, ContractType>>();
// Staking contract not deployed on Neutron testnet
// artifacts.insert(
// "astroport_staking".to_string(),
// ContractType::Artifact(Artifact::Local(get_wasm_path(
// "astroport_staking",
// &ARTIFACTS_PATH,
// APPEND_ARCH,
// &ARCH,
// ))),
// );
artifacts
}

Expand Down
3 changes: 0 additions & 3 deletions src/multi_test/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,6 @@ mod tests {
let alice = app.init_account(&[coin(1000, "uosmo")]).unwrap();

let res = instantiate_astro_token(&app, &alice).unwrap();
println!("MsgInstantiateContractRes: {:?}", res);
let contract_addr = res.data.address;

let res = QueryContractInfoRequest {
Expand All @@ -544,8 +543,6 @@ mod tests {
.query(&app.app.wrap())
.unwrap();

println!("QueryContractInfoRes: {:?}", res);

assert_eq!(res.address, contract_addr);
let info = res.contract_info.unwrap();
assert_eq!(info.code_id, 1);
Expand Down
Empty file removed src/test_
Empty file.
2 changes: 2 additions & 0 deletions src/test_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ use osmosis_test_tube::OsmosisTestApp;
#[derive(strum::EnumVariantNames)]
#[strum(serialize_all = "kebab_case")]
pub enum OwnedTestRunner<'a> {
/// Needed to keep lifetime when rpc-runner and multitest features are off
PhantomData(&'a ()),
#[cfg(feature = "osmosis-test-tube")]
OsmosisTestApp(OsmosisTestApp),
Expand All @@ -35,6 +36,7 @@ pub enum OwnedTestRunner<'a> {
/// passing a TestRunner to a function which needs to own it, but we don't want to give up ownership
/// of the runner.
pub enum TestRunner<'a> {
/// Needed to keep lifetime when rpc-runner and multitest features are off
PhantomData(&'a ()),
#[cfg(feature = "osmosis-test-tube")]
OsmosisTestApp(&'a OsmosisTestApp),
Expand Down

0 comments on commit fdfe2a5

Please sign in to comment.