We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b646959 commit c85e1e9Copy full SHA for c85e1e9
packages/bugc/test/evm/behavioral.ts
@@ -71,7 +71,7 @@ export async function executeProgram(
71
await executor.deploy(createCode);
72
73
let callSuccess: boolean | undefined;
74
- let returnValue = new Uint8Array();
+ let returnValue: Uint8Array = new Uint8Array();
75
76
// Call if calldata provided (even empty string means "call")
77
if (calldata !== undefined) {
@@ -80,7 +80,7 @@ export async function executeProgram(
80
value,
81
});
82
callSuccess = execResult.success;
83
- returnValue = execResult.returnValue;
+ returnValue = new Uint8Array(execResult.returnValue);
84
}
85
86
return {
0 commit comments