Skip to content

Commit

Permalink
Edit hedera operations util v038
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Nov 27, 2023
1 parent d146516 commit 5786f5c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public static Operation.OperationResult addressSignatureCheckExecution(
return supplierExecution.get();
}
if (!globalDynamicProperties.evmVersion().equals(EVM_VERSION_0_45)
|| !globalDynamicProperties.allowCallsToNonContractAccounts()) {
|| !globalDynamicProperties.allowCallsToNonContractAccounts()
|| globalDynamicProperties.grandfatherContracts().contains(frame.getContractAddress())) {
if (Boolean.FALSE.equals(addressValidator.test(address, frame))) {
return failingOperationResultFrom(
supplierHaltGasCost.getAsLong(), HederaExceptionalHaltReason.INVALID_SOLIDITY_ADDRESS);

Check warning on line 87 in hedera-node/hedera-mono-service/src/main/java/com/hedera/node/app/service/mono/contracts/operation/HederaOperationUtilV038.java

View check run for this annotation

Codecov / codecov/patch

hedera-node/hedera-mono-service/src/main/java/com/hedera/node/app/service/mono/contracts/operation/HederaOperationUtilV038.java#L86-L87

Added lines #L86 - L87 were not covered by tests
Expand Down

0 comments on commit 5786f5c

Please sign in to comment.