Skip to content

Commit 412328d

Browse files
fvictorioalcuadrado
authored andcommitted
Add isStaticCall to MinimalMessage
1 parent c305a31 commit 412328d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/hardhat-core/src/internal/hardhat-network/provider/utils/convertToEdr.ts

+1
Original file line numberDiff line numberDiff line change
@@ -265,5 +265,6 @@ export function edrTracingMessageToMinimalMessage(
265265
value: message.value,
266266
caller: new Address(message.caller),
267267
gasLimit: message.gasLimit,
268+
isStaticCall: message.isStaticCall,
268269
};
269270
}

packages/hardhat-core/src/internal/hardhat-network/provider/vm/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ export interface MinimalMessage {
3333
data: Uint8Array;
3434
caller: Address;
3535
gasLimit: bigint;
36+
isStaticCall: boolean;
3637
}

0 commit comments

Comments
 (0)