This assumes the path for the signatory keypair created by solana-test-validator is test-ledger/validator-keypair.json
(&self)
| 98 | /// This assumes the path for the signatory keypair created by solana-test-validator |
| 99 | /// is test-ledger/validator-keypair.json |
| 100 | pub fn signatory(&self) -> String { |
| 101 | env::current_dir() |
| 102 | .map(|mut path| { |
| 103 | path.extend(["test-ledger", "validator-keypair.json"]); |
| 104 | path |
| 105 | }) |
| 106 | .expect(&format!( |
| 107 | "Unable to find location of validator-keypair.json" |
| 108 | )) |
| 109 | .to_string() |
| 110 | } |
| 111 | |
| 112 | pub fn geyser_config(&self) -> String { |
| 113 | self.active_runtime("geyser-plugin-config.json") |
no test coverage detected