Skip to content

Commit 852676c

Browse files
Disable payer balance check for web3 simulations (#12709)
--------- Signed-off-by: Ivan Kavaldzhiev <ivankavaldzhiev@gmail.com>
1 parent aac91a9 commit 852676c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ value, it is recommended to only populate overridden properties in the custom `a
716716
| `hiero.mirror.web3.evm.trace.enabled` | false | Flag enabling tracer |
717717
| `hiero.mirror.web3.evm.trace.contract` | [] | A set with contract addresses to filter. By default it is empty to indicate it will trace all contract addresses. |
718718
| `hiero.mirror.web3.evm.trace.status` | [] | A set with frame statuses to filter. By default it is empty to indicate it will trace all frames regardless of status. |
719-
| `hiero.mirror.web3.evm.validatePayerBalance` | true | Feature flag to enable payer balance validation for contract calls. When enabled, validates that the sender has sufficient balance when gasPrice or value is greater than zero. |
719+
| `hiero.mirror.web3.evm.validatePayerBalance` | false | Feature flag to enable payer balance validation for contract calls. When enabled, validates that the sender has sufficient balance when gasPrice or value is greater than zero. |
720720
| `hiero.mirror.web3.evm.entityNumBuffer` | 1000 | A buffer added to the max known entity number to prevent contract call simulations from generating IDs that may conflict with entities persisted by the importer module. |
721721
| `hiero.mirror.web3.maxPayloadLogSize` | 300 | The maximum number of characters to use to log the request payload. |
722722
| `hiero.mirror.web3.opcode.tracer.enabled` | false | Whether the `/contracts/results/{transactionIdOrHash}/opcodes` endpoint is exposed |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class MirrorNodeEvmProperties {
8585

8686
private long minimumAccountBalance = 100_000_000_000_000_000L;
8787

88-
private boolean validatePayerBalance = true;
88+
private boolean validatePayerBalance = false;
8989

9090
public SemanticVersion getSemanticEvmVersion() {
9191
var context = ContractCallContext.get();

0 commit comments

Comments
 (0)