Skip to content

Commit

Permalink
added gas settings to powfaucet chart (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 authored Dec 1, 2023
1 parent c1082f4 commit 5a0053d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/powfaucet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://github.com/pk910/PoWFaucet
sources:
- https://github.com/pk910/PoWFaucet
type: application
version: 0.0.3
version: 0.0.4
appVersion: "2.0.0"
maintainers:
- name: pk910
Expand Down
5 changes: 4 additions & 1 deletion charts/powfaucet/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# powfaucet

![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.0.4](https://img.shields.io/badge/Version-0.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

PoW Faucet for EVM chains

Expand Down Expand Up @@ -87,6 +87,9 @@ faucetPowRewardPerHash: 500000000000000000 # 0.5 ETH
| faucetRecurringLimitsEnabled | bool | `true` | Enable recurring module (enforce limits for recurring users) |
| faucetRpcUrl | string | `"http://your-el-node:8545"` | Faucet el node rpc |
| faucetTitle | string | `"PoW Faucet"` | Faucet title |
| faucetTxGasLimit | int | `21000` | Transaction gas limit |
| faucetTxMaxFee | int | `100000000000` | Max transaction gas fee (in wei) |
| faucetTxMaxPrioFee | int | `2000000000` | Max transaction priority fee (in wei) |
| fullnameOverride | string | `""` | Overrides the chart's computed fullname |
| httpPort | int | `8080` | HTTP port for faucet interface |
| httpProxyCount | int | `1` | number of HTTP proxies in front of the faucet |
Expand Down
15 changes: 12 additions & 3 deletions charts/powfaucet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,15 @@ faucetExplorerLink: "https://your-el-block-explorer.com/tx/{txid}"
# -- Additional html to show on the faucet page
faucetHomeHtml: ""

# -- Transaction gas limit
faucetTxGasLimit: 21000

# -- Max transaction gas fee (in wei)
faucetTxMaxFee: 100000000000

# -- Max transaction priority fee (in wei)
faucetTxMaxPrioFee: 2000000000

# -- Minimum drop amount in wei
faucetMinDropWei: 1000000000000000000 # 1 ETH

Expand Down Expand Up @@ -362,18 +371,18 @@ config: |
# transaction gas limit
# use 21000 to prevent transactions to contracts
ethTxGasLimit: 21000
ethTxGasLimit: {{ .Values.faucetTxGasLimit }}
# use legacy (non-eip1559) transaction type
# true: Type 0 (Legacy Transactions), false: Type 2 (EIP1559 Transactions)
ethLegacyTx: false
# max transaction gas fee (in wei)
# used as limit for legacy transactions (faucet won't build transactions with higher gas price)
ethTxMaxFee: 100000000000 # 100 gwei
ethTxMaxFee: {{ .Values.faucetTxMaxFee }}
# max transaction priority fee (in wei)
ethTxPrioFee: 2000000000 # 2 gwei
ethTxPrioFee: {{ .Values.faucetTxMaxPrioFee }}
# max number of unconfirmed transactions to create simultaneously
ethMaxPending: 12
Expand Down

0 comments on commit 5a0053d

Please sign in to comment.