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:
Greg Fitzgerald
2019-02-15 08:42:09 -07:00
parent a2cb18bfe9
commit 55f06f5bad
6 changed files with 124 additions and 138 deletions

3
Cargo.lock generated
View File

@@ -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",