Skip to content

Commit 00d994b

Browse files
committed
test(vm): enable saving details for cancelcallunfreeze opcode test
1 parent 82d52d9 commit 00d994b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

framework/src/test/java/org/tron/common/runtime/vm/FreezeV2Test.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import org.junit.Test;
2323
import org.junit.rules.TemporaryFolder;
2424
import org.tron.common.application.TronApplicationContext;
25+
import org.tron.common.parameter.CommonParameter;
2526
import org.tron.common.runtime.Runtime;
2627
import org.tron.common.runtime.RuntimeImpl;
2728
import org.tron.common.runtime.TVMTestResult;
@@ -274,6 +275,7 @@ private TVMTestResult triggerWithdrawExpireUnfreeze(
274275
private TVMTestResult triggerCancelAllUnfreezeV2(
275276
byte[] callerAddr, byte[] contractAddr, contractResult expectedResult, Consumer<byte[]> check)
276277
throws Exception {
278+
CommonParameter.getInstance().saveCancelAllUnfreezeV2Details = true;
277279
return triggerContract(
278280
callerAddr, contractAddr, fee, expectedResult, check, "cancelAllUnfreezeBalanceV2()");
279281
}

0 commit comments

Comments
 (0)