()
| 377 | |
| 378 | #[test] |
| 379 | fn test_execute_script_without_stack_limit() { |
| 380 | let script = script! { |
| 381 | for _ in 0..1001 { |
| 382 | OP_1 |
| 383 | } |
| 384 | for _ in 0..1001 { |
| 385 | OP_DROP |
| 386 | } |
| 387 | OP_1 |
| 388 | }; |
| 389 | let exec_result = execute_script_without_stack_limit(script); |
| 390 | assert!(exec_result.success); |
| 391 | } |
| 392 | } |
nothing calls this directly
no test coverage detected