Skip to content

Bump cw version#112

Open
Ninjatosba wants to merge 25 commits intoreleases/v0.1.6from
bump-cw-version
Open

Bump cw version#112
Ninjatosba wants to merge 25 commits intoreleases/v0.1.6from
bump-cw-version

Conversation

@Ninjatosba
Copy link
Collaborator

CW v3 upgrade + test cleanup

Upgraded to CosmWasm v3 and completely refactored the test suite.

What I did

  • Bumped CW to v3
  • Broke up the giant src/tests.rs file into separate test files
  • Removed old migration code that was cluttering things
  • Fixed all the linter warnings

Test coverage

Got it up to 94% with grcov. Split tests into logical groups:

  • create_stream, subscribe, withdraw
  • killswitch, threshold, exit
  • operator, protocol_admin, price_feed
  • etc.

The test structure is way cleaner now and easier to maintain. Each feature has its own test file instead of one massive file.

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.

1 participant