-
Notifications
You must be signed in to change notification settings - Fork 340
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
Remove duplicate vote transaction #4732
base: master
Are you sure you want to change the base?
Conversation
The Firedancer team maintains a line-for-line reimplementation of the |
daebc96
to
8ee3099
Compare
pub enum VoteTransaction { | ||
Vote(Vote), | ||
VoteStateUpdate(VoteStateUpdate), | ||
TowerSync(TowerSync), |
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.
Other program/vote/VoteTransaction
has CompactVoteStateUpdate
as third enum
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.
(likely need to include the serde
macro as well for TowerSync
)
cbdf360
to
19938cb
Compare
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.
generally in support of this change, however it might break downstream so I would imagine we need to deprecate VoteTransaction
first
vote/Cargo.toml
Outdated
@@ -1,58 +0,0 @@ | |||
[package] | |||
name = "solana-vote" |
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.
nice ya in support of this change.
This is a public crate though do we have to go through the process of deprecating it for a version and then deleting it in the next? or can we just break it
Yup need to deprecate him, how does one go about doing that @joncinque @buffalojoec |
|
The Firedancer team maintains a line-for-line reimplementation of the |
Lol this was fun to look into the history for:
In my mind, If we look at the modules you are moving into This PR should remove the duplicated |
Sorry to clarify, I don't actually have any special love for the |
Oh I also just realized we have |
vote_parser relies on VoteTransaction, so seems like we should pull VoteTransaction out of solana-program into solana-vote? |
Yeah it should live in solana-vote |
d1f97a0
to
60d788a
Compare
48ed3ee
to
2d87baf
Compare
Problem
vote transaction is duplicated, vote crate is unnecessary
Summary of Changes
Delete vote crate, move everything into vote-program
Fixes #