Skip to content
2 changes: 1 addition & 1 deletion docs/rpc/components/schemas/block-replay.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ properties:
type: string
description: transaction id
vm_error:
type: string
type: [string, "null"]
description: optional vm error (for runtime failures)
2 changes: 2 additions & 0 deletions stackslib/src/net/tests/inv/nakamoto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ where
},
NakamotoBootTenure::NoSortition(boot_steps) => {
let boot_steps_len = boot_steps.len();
// when NakamotoBootTenure::NoSortition is in place we have every NakamotoBootStep::Block
// followed by NakamotoBootStep::TenureExtend (this is why with index by boot_steps_len - 2)
match boot_steps.get_mut(boot_steps_len - 2).unwrap() {
NakamotoBootStep::Block(transactions) => {
transactions.append(&mut tip_transactions)
Expand Down
2 changes: 2 additions & 0 deletions stackslib/src/net/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ pub struct NakamotoBootPlan {
pub network_id: u32,
pub txindex: bool,
pub epochs: Option<EpochList<ExecutionCost>>,
/// Additional transactions to include in the tip block
pub tip_transactions: Vec<StacksTransaction>,
/// Do not fail if a transaction returns error (by default the BootPlan will stop on tx failure)
pub ignore_transaction_errors: bool,
}

Expand Down
Loading