Make vote_program available to reward_program tests
Making `solana_vote_program` is not an option because then vote_program's entrypoint conflicts with reward_program's entrypoint. This unfortunately turns the SDK into a dumping ground for all things shared between vote_program and other programs. Better would be to create a solana-vote-api crate similar to the solana-rewards-api crate.
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@@ -2225,7 +2225,6 @@ dependencies = [
|
||||
"solana-rewards-api 0.12.0",
|
||||
"solana-runtime 0.12.0",
|
||||
"solana-sdk 0.12.0",
|
||||
"solana-vote-program 0.12.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -2291,8 +2290,6 @@ version = "0.12.0"
|
||||
dependencies = [
|
||||
"bincode 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.87 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.87 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"solana-logger 0.12.0",
|
||||
"solana-metrics 0.12.0",
|
||||
"solana-runtime 0.12.0",
|
||||
|
Reference in New Issue
Block a user