Rehost company unassigned share pool

This commit is contained in:
Jan Petykiewicz 2026-04-17 20:55:42 -07:00
commit c41a6b0e92
7 changed files with 189 additions and 13 deletions

View file

@ -92,6 +92,8 @@ pub struct ExpectedRuntimeSummary {
#[serde(default)]
pub selected_company_outstanding_shares: Option<u32>,
#[serde(default)]
pub selected_company_unassigned_share_pool: Option<u32>,
#[serde(default)]
pub selected_company_cached_share_price_value_f32_text: Option<String>,
#[serde(default)]
pub selected_company_mutable_support_scalar_value_f32_text: Option<String>,
@ -591,6 +593,14 @@ impl ExpectedRuntimeSummary {
));
}
}
if let Some(value) = self.selected_company_unassigned_share_pool {
if actual.selected_company_unassigned_share_pool != Some(value) {
mismatches.push(format!(
"selected_company_unassigned_share_pool mismatch: expected {value}, got {:?}",
actual.selected_company_unassigned_share_pool
));
}
}
if let Some(value) = &self.selected_company_cached_share_price_value_f32_text {
if actual
.selected_company_cached_share_price_value_f32_text