hersir:add defined_vote_plans to MonitorController
getting the voteplans without moving the entire object is necessary for vit-testing
@@ -9,6 +9,7 @@ use crate::style;
use crate::utils::Dotifier;
use assert_fs::fixture::ChildPath;
use assert_fs::prelude::*;
+use chain_impl_mockchain::testing::scenario::template::VotePlanDef;
use indicatif::{MultiProgress, ProgressBar};
use jormungandr_automation::jormungandr::LeadershipMode;
use jormungandr_automation::jormungandr::PersistenceMode;
@@ -176,6 +177,10 @@ impl MonitorController {
self.inner.settings()
}
+ pub fn defined_vote_plans(&self) -> Vec<VotePlanDef> {
+ self.inner.defined_vote_plans()
+ }
+
pub fn context(&self) -> &Context {
&self.context
}
