Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/tron/core/db/TransactionTrace.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void exec(Runtime runtime)
/** VM execute **/
runtime.execute();
runtime.go();
runtime.finalization();

}

public void finalization(Runtime runtime) throws ContractExeException {
Expand Down
4 changes: 4 additions & 0 deletions src/test/java/org/tron/common/runtime/TVMTestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public static Runtime processTransactionAndReturnRuntime(Transaction trx,
//exec
trace.exec(runtime);

runtime.finalization();

return runtime;
}

Expand Down Expand Up @@ -139,6 +141,8 @@ public static TVMTestResult processTransactionAndReturnTVMTestResult(Transaction
//exec
trace.exec(runtime);

runtime.finalization();

return new TVMTestResult(runtime, trace.getReceipt(), null);
}

Expand Down