Comparing version 2.23.0-dev.1 to 2.23.0-dev.2
@@ -195,2 +195,11 @@ "use strict"; | ||
} | ||
if ("output" in result) { | ||
const { output } = result; | ||
if (Buffer.isBuffer(output)) { | ||
minimalEVMResult.execResult.output = output; | ||
} | ||
else { | ||
minimalEVMResult.execResult.output = output.returnValue; | ||
} | ||
} | ||
if (contractAddress !== undefined) { | ||
@@ -197,0 +206,0 @@ minimalEVMResult.execResult.contractAddress = new ethereumjs_util_1.Address(contractAddress); |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
import type { ExceptionalHalt, SuccessReason } from "@nomicfoundation/edr"; | ||
@@ -21,2 +22,3 @@ import type { Address } from "@nomicfoundation/ethereumjs-util"; | ||
reason?: SuccessReason | ExceptionalHalt; | ||
output?: Buffer; | ||
} | ||
@@ -23,0 +25,0 @@ export interface MinimalEVMResult { |
{ | ||
"name": "hardhat", | ||
"version": "2.23.0-dev.1", | ||
"version": "2.23.0-dev.2", | ||
"author": "Nomic Labs LLC", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -246,2 +246,10 @@ import type { | ||
} | ||
if ("output" in result) { | ||
const { output } = result; | ||
if (Buffer.isBuffer(output)) { | ||
minimalEVMResult.execResult.output = output; | ||
} else { | ||
minimalEVMResult.execResult.output = output.returnValue; | ||
} | ||
} | ||
@@ -248,0 +256,0 @@ if (contractAddress !== undefined) { |
@@ -24,2 +24,3 @@ import type { ExceptionalHalt, SuccessReason } from "@nomicfoundation/edr"; | ||
reason?: SuccessReason | ExceptionalHalt; | ||
output?: Buffer; | ||
} | ||
@@ -26,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3745006
65481