Repository navigation
vote-interface: deprecate legacy vote instructions - #1067
buffalojoec merged 2 commits into
Conversation
bdc23a3 to
a9930fb
Compare
AshwinSekar
left a comment
There was a problem hiding this comment.
ty! FYI I have the vote program changes staged, will add you once i 🪓 all the agave tests that rely on Tower
Ah cool, thanks! I only started picking some of this up because I wanted to fix the vote-interface deserialization API, which needs to be breaking (probably). |
| #[cfg(test)] | ||
| #[allow(clippy::arithmetic_side_effects)] | ||
| mod tests { | ||
| #[allow(deprecated)] |
There was a problem hiding this comment.
Could you add expect here? It does the same as allow but fails once the lint is no longer being triggered, so we'll remember to remove this blanket allow once the deprecated methods are removed.
| #[allow(deprecated)] | |
| #[expect(deprecated)] |
joncinque
left a comment
There was a problem hiding this comment.
Looks good to me!
Moving from allow(deprecated) to expect(deprecated) makes sense to me also
Problem
Alpenglow is live. We don't need any of this legacy vote stuff anymore. Before I delete all of it, I wanted to push out a minor version with a bunch of deprecation warnings.
Summary of Changes
Deprecate everything for legacy vote instructions.
@anza-xyz/tx-metadata you are tagged probably just for the one test change.