(result: Result<(), InvalidPoolTransactionError>)
| 2441 | /// Helper: assert structural validation returns `Invalid` with `TxTypeNotSupported`. |
| 2442 | #[track_caller] |
| 2443 | fn assert_unsupported(result: Result<(), InvalidPoolTransactionError>) { |
| 2444 | match result { |
| 2445 | Err(InvalidPoolTransactionError::Consensus( |
| 2446 | InvalidTransactionError::TxTypeNotSupported, |
| 2447 | )) => {} |
| 2448 | other => panic!("expected TxTypeNotSupported, got {other:?}"), |
| 2449 | } |
| 2450 | } |
| 2451 | |
| 2452 | /// Helper: assert structural validation returns `Invalid` with `ChainIdMismatch`. |
| 2453 | #[track_caller] |
no outgoing calls