Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.4.0 #32

Merged
merged 15 commits into from
May 10, 2024
Merged

Release 0.4.0 #32

merged 15 commits into from
May 10, 2024

Conversation

pacmanifold
Copy link
Contributor

No description provided.

@pacmanifold pacmanifold changed the title chore: update cw-dex, cw-it and bump version to 0.4.0-rc.1 Release 0.4.0 Mar 6, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 17.24%. Comparing base (18bbc9e) to head (ac0d1c2).

Files Patch % Lines
src/operations.rs 0.00% 15 Missing ⚠️
src/contract.rs 0.00% 9 Missing ⚠️
src/helpers.rs 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master      #32       +/-   ##
===========================================
+ Coverage    0.43%   17.24%   +16.80%     
===========================================
  Files           8        6        -2     
  Lines         685     4959     +4274     
===========================================
+ Hits            3      855      +852     
- Misses        682     4104     +3422     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Cargo.toml Outdated
@@ -34,11 +34,11 @@ panic = 'abort'
rpath = false

[features]
default = []
default = ["astroport", "osmosis"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then Pool becomes empty and a bunch of issues pop up. you need to actually compile it with either one of the features (otherwise there is no functionality) but I didn't find a good way to force compilation with at least one of the features

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In vault zapper I tried doing:

// Force selecting either `astroport` or `osmosis` features, or both.
#[cfg(not(any(feature = "astroport", feature = "osmosis")))]
compile_error!("Must select either `astroport` or `osmosis` feature, or both");

But, unfortunately abstractmoney/rust-optimizer tries to compile one version without features so fails CI.

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
Makefile.toml Outdated Show resolved Hide resolved
@@ -40,7 +40,7 @@ set -eux

grcov ${COVERAGE_PROF_OUTPUT} \
-b ${COVERAGE_BINARIES} -s ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY} \
-t ${GRCOV_OUTPUT_TYPE} --llvm --branch --ignore-not-existing --ignore "/*" --ignore "*/tests/*" --ignore "*/testing/*" --ignore "target/*" --ignore "contracts/swapper/mock/*" --ignore "contracts/swapper/osmosis/*" -o ${GRCOV_OUTPUT_PATH}
-t ${GRCOV_OUTPUT_TYPE} --llvm --branch --ignore-not-existing --ignore "tests/osmosis_tests.rs" -o ${GRCOV_OUTPUT_PATH}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ignore osmosis tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they all run against OsmosisTestApp so can't run coverage on them

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. Maybe open an issue to generalize the tests to use generic test runner?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

tests/migrate_from_0_1_0.rs Outdated Show resolved Hide resolved
Makefile.toml Outdated Show resolved Hide resolved
apollo-sturdy
apollo-sturdy previously approved these changes May 10, 2024
@apollo-sturdy apollo-sturdy merged commit d7a776b into master May 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants