Skip to content

Commit fd61168

Browse files
siladurolandtyler
andauthored
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>
1 parent 1edc665 commit fd61168

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/private-networks/how-to/configure/free-gas.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,24 @@ to zero.
9595
Any node with a minimum gas price set higher than zero will silently drop transactions with a zero gas price.
9696
You can query a node's gas configuration using [`eth_gasPrice`](../../../public-networks/reference/api/index.md#eth_gasprice).
9797

98+
### 4. Enable zero base fee if using London fork or later
99+
100+
If your network is configured to use the `londonBlock` or a later hard fork, then you must also enable the `zeroBaseFee` configuration.
101+
You must set this on all your nodes.
102+
Once it is set, future blocks produced by that node will set a `baseFee` of 0.
103+
This is required because the London hard fork (EIP-1559) introduced a non-zero `baseFee` into the block which normally means transactions require gas.
104+
105+
```json
106+
{
107+
"config": {
108+
"londonBlock": 0,
109+
"zeroBaseFee": true,
110+
...
111+
},
112+
...
113+
}
114+
```
115+
98116
## Configure free gas in Truffle
99117

100118
If using Truffle to develop on your free gas network, you also need to configure free gas in

0 commit comments

Comments
 (0)