MCPcopy Create free account
hub / github.com/BitVM/BitVM / test_execute_script_without_stack_limit

Function test_execute_script_without_stack_limit

bitvm/src/lib.rs:379–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected