-
Notifications
You must be signed in to change notification settings - Fork 142
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
Support different NFT contracts with dao-voting-cw721-staked
#726
Conversation
Makes the interface for instantiating a new collection a bit more generic to account for most types of cw721 and sg721 contracts.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## development #726 +/- ##
===============================================
+ Coverage 93.98% 94.04% +0.06%
===============================================
Files 62 62
Lines 5600 5610 +10
===============================================
+ Hits 5263 5276 +13
+ Misses 337 334 -3
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks goooood to me, we should test it on both stargaze and juno testnets before merging
2f0baa2
to
5e18818
Compare
New features don't require any state migrations. Both `ACTIVE_THRESHOLD` and `HOOKS` are uninitialized if none are set, so no migration logic needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hell yes this looks so good!!
Now works with
sg721
as well as some customcw721
contracts. 🥳Closes #716