We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2de5a0 commit f10ab03Copy full SHA for f10ab03
unittest/src/main/java/score/Context.java
@@ -95,7 +95,7 @@ public static Object call(BigInteger value,
95
96
public static<T> T call(Class<T> cls,
97
Address targetAddress, String method, Object... params) {
98
- return null;
+ return cls.cast(call(targetAddress, method, params));
99
}
100
101
public static Object call(Address targetAddress, String method, Object... params) {
0 commit comments