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

Put cw-vesting staking features behind a feature flag #800

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

NoahSaso
Copy link
Member

@NoahSaso NoahSaso commented Feb 6, 2024

Neutron does not support the staking module, and the cw-vesting contract attempts to execute a staking-related message on instantiate for the native token. This means that the vesting contract does not currently work for NTRN on Neutron.

This PR adds a staking feature flag to cw-vesting that explicitly enables the execution variants that have to do with staking, in addition to the withdraw address message on instantiate.

@NoahSaso NoahSaso requested a review from bekauz February 6, 2024 06:45
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (development@bc3a449). Click here to learn what that means.

Additional details and impacted files
@@              Coverage Diff               @@
##             development     #800   +/-   ##
==============================================
  Coverage               ?   96.17%           
==============================================
  Files                  ?      207           
  Lines                  ?    53401           
  Branches               ?        0           
==============================================
  Hits                   ?    51359           
  Misses                 ?     2042           
  Partials               ?        0           

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

@NoahSaso NoahSaso force-pushed the noah/support-vesting-non-staking branch 2 times, most recently from acfc547 to aaebfdf Compare February 6, 2024 07:45
@NoahSaso NoahSaso force-pushed the noah/support-vesting-non-staking branch from aaebfdf to 59d59a0 Compare February 6, 2024 07:46
@NoahSaso NoahSaso requested a review from JakeHartnell February 6, 2024 08:16
Copy link
Member

@JakeHartnell JakeHartnell left a comment

Choose a reason for hiding this comment

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

LGTM!

@NoahSaso NoahSaso merged commit 135fcd8 into development Feb 6, 2024
8 of 9 checks passed
@NoahSaso NoahSaso deleted the noah/support-vesting-non-staking branch February 6, 2024 20:12
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