You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Unless you need to set a non-default value, it is recommended to only populate o
68
68
|`IP_RATE_LIMIT_STORE`| null | Specifies the rate limit store to use for IP-based rate limiting: valid values are "LRU", "REDIS", with the possibility to be extended with a custom implementation (see [Store Selection](rate-limiting.md#store-selection)). If unset, falls back to Redis when `REDIS_ENABLED=true`, otherwise uses in-memory LRU. |
69
69
|`JUMBO_TX_ENABLED`| "true" | Controls how large transactions are handled during `eth_sendRawTransaction`. When set to `true`, transactions up to 128KB can be sent directly to consensus nodes without using Hedera File Service (HFS), as long as contract bytecode doesn't exceed 24KB. When set to `false`, all transactions containing contract deployments use the traditional HFS approach. This feature leverages the increased transaction size limit to simplify processing of standard Ethereum transactions. |
70
70
|`LIMIT_DURATION`| "60000" | The maximum duration in ms applied to IP-method based rate limits. |
71
-
|`MAX_GAS_ALLOWANCE_HBAR`| "0" | The maximum amount, in hbars, that the JSON-RPC Relay is willing to pay to complete the transaction in case the senders don't provide enough funds to pay for their transactions. Please note, in case of fully subsidized transactions, the sender must set the gas price to `0` and the JSON-RPC Relay must configure both the `GAS_PRICE_TINY_BAR_BUFFER`, to a number big enough to cover the discrepancy between the base gas price and `0`, and the `MAX_GAS_ALLOWANCE_HBAR` parameters, with the max amount of HBARs the JSON-RPC Relay is willing to spend to execute the transaction.|
71
+
|`MAX_GAS_ALLOWANCE_HBAR`| "0" | The maximum amount, in hbars, that the JSON-RPC Relay is willing to pay to complete the transaction in case the senders don't provide enough funds. Please note, in case of fully subsidized transactions, the sender must set the gas price to `0` and the JSON-RPC Relay must configure the `MAX_GAS_ALLOWANCE_HBAR` parameter high enough to cover the entire transaction cost. |
72
72
|`MAX_TRANSACTION_FEE_THRESHOLD`| "15000000" | Used to set the max transaction fee. This is the HAPI fee which is paid by the relay operator account. |
73
73
|`MIRROR_NODE_AGENT_CACHEABLE_DNS`| "true" | Flag to set if the mirror node agent should cacheable DNS lookups, using better-lookup library. |
74
74
|`MIRROR_NODE_CONTRACT_RESULTS_LOGS_PG_MAX`| "200" | The maximum number of pages to be requested for contract results logs from the mirror node. (each page will contain a max of 100 results) |
Copy file name to clipboardExpand all lines: packages/server/tests/acceptance/rpc_batch1.spec.ts
+48-54Lines changed: 48 additions & 54 deletions
Original file line number
Diff line number
Diff line change
@@ -1555,60 +1555,54 @@ describe('@api-batch-1 RPC Server Acceptance Tests', function () {
1555
1555
});
1556
1556
1557
1557
describe('Check subsidizing gas fees',asyncfunction(){
1558
-
withOverriddenEnvsInMochaTest(
1559
-
{
1560
-
GAS_PRICE_TINY_BAR_BUFFER: 2000000000000,
1561
-
MAX_GAS_ALLOWANCE_HBAR: 100,
1562
-
},
1563
-
()=>{
1564
-
it('should execute a pre EIP-1559 transaction with "eth_sendRawTransaction" and pays the total amount of the fees on behalf of the sender',asyncfunction(){
it('should execute a post EIP-1559 transaction with "eth_sendRawTransaction" and pays the total amount of the fees on behalf of the sender',asyncfunction(){
it('should execute a pre EIP-1559 transaction with "eth_sendRawTransaction" and pays the total amount of the fees on behalf of the sender',asyncfunction(){
it('should execute a post EIP-1559 transaction with "eth_sendRawTransaction" and pays the total amount of the fees on behalf of the sender',asyncfunction(){
0 commit comments