Document support for free gas networks when using London fee market (#1176)

* Document support for free gas networks when using London fee market

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

* typo

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>

* Clear Vale errors

Signed-off-by: Roland Tyler <roland.tyler@consensys.net>

Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
Signed-off-by: Roland Tyler <roland.tyler@consensys.net>
Co-authored-by: Roland Tyler <roland.tyler@consensys.net>
pull/1179/head 22.7.3
Simon Dudley 2 years ago committed by GitHub
parent 1edc665665
commit fd61168602
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      docs/private-networks/how-to/configure/free-gas.md

@ -95,6 +95,24 @@ to zero.
Any node with a minimum gas price set higher than zero will silently drop transactions with a zero gas price.
You can query a node's gas configuration using [`eth_gasPrice`](../../../public-networks/reference/api/index.md#eth_gasprice).
### 4. Enable zero base fee if using London fork or later
If your network is configured to use the `londonBlock` or a later hard fork, then you must also enable the `zeroBaseFee` configuration.
You must set this on all your nodes.
Once it is set, future blocks produced by that node will set a `baseFee` of 0.
This is required because the London hard fork (EIP-1559) introduced a non-zero `baseFee` into the block which normally means transactions require gas.
```json
{
"config": {
"londonBlock": 0,
"zeroBaseFee": true,
...
},
...
}
```
## Configure free gas in Truffle
If using Truffle to develop on your free gas network, you also need to configure free gas in

Loading…
Cancel
Save