Skip to content

Commit 88476fc

Browse files
Disable allowLongZeroAddresses for contract call (#12588)
* Disable allowLongZeroAddresses for contract call to reflect mainnet * Rename inconsistent env variable to match the config property --------- Signed-off-by: Steven Sheehy <[email protected]>
1 parent 189ef58 commit 88476fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web3/src/main/java/org/hiero/mirror/web3/evm/properties/MirrorNodeEvmProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
@ConfigurationProperties(prefix = "hiero.mirror.web3.evm")
6060
public class MirrorNodeEvmProperties implements EvmProperties {
6161

62-
public static final String ALLOW_LONG_ZERO_ADDRESSES = "HIERO_MIRROR_WEB3_MODULARIZED_ALLOWLONGZEROADDRESS";
62+
public static final String ALLOW_LONG_ZERO_ADDRESSES = "HIERO_MIRROR_WEB3_EVM_ALLOWLONGZEROADDRESSES";
6363

6464
private static final NavigableMap<Long, SemanticVersion> DEFAULT_EVM_VERSION_MAP =
6565
ImmutableSortedMap.of(0L, EVM_VERSION);
@@ -69,8 +69,8 @@ public class MirrorNodeEvmProperties implements EvmProperties {
6969

7070
private final SystemEntity systemEntity;
7171

72-
@Value("${" + ALLOW_LONG_ZERO_ADDRESSES + ":true}")
73-
private boolean allowLongZeroAddresses = true;
72+
@Value("${" + ALLOW_LONG_ZERO_ADDRESSES + ":false}")
73+
private boolean allowLongZeroAddresses = false;
7474

7575
@Getter
7676
private boolean allowTreasuryToOwnNfts = true;

0 commit comments

Comments
 (0)