diff --git a/pallets/gear/src/schedule.rs b/pallets/gear/src/schedule.rs index b2010a58961..d6ebd0928af 100644 --- a/pallets/gear/src/schedule.rs +++ b/pallets/gear/src/schedule.rs @@ -737,7 +737,8 @@ impl Default for Limits { // To avoid potential stack overflow problems we have a panic in sandbox in case, // execution is ended with stack overflow error. So, process queue execution will be // stopped and we will be able to investigate the problem and decrease this constant if needed. - stack_height: Some(20_000), + // TODO #3435. Disabled stack height is a temp solution. + stack_height: cfg!(not(feature = "fuzz")).then_some(20_000), globals: 256, locals: 1024, parameters: 128, diff --git a/scripts/src/test.sh b/scripts/src/test.sh index 19a637876d3..b2550519a29 100755 --- a/scripts/src/test.sh +++ b/scripts/src/test.sh @@ -86,7 +86,7 @@ run_fuzzer() { cd $ROOT_DIR/utils/runtime-fuzzer if [ "$3" = "wlogs" ]; then - LOG_TARGETS="debug,syscalls,gear_wasm_gen=trace,runtime_fuzzer=trace,gear_core_backend=trace" + LOG_TARGETS="debug,syscalls,runtime::sandbox=trace,gear_wasm_gen=trace,runtime_fuzzer=trace,gear_core_backend=trace" else LOG_TARGETS="off" fi