website: add subsection about running in development mode with custom genesis configuration (#28469)
* development mode: add subsection about running with custom genesis configuration * revise wording. remove extra spaces. * Update dev-mode.md --------- Co-authored-by: Felix Lange <fjl@twurst.com>
This commit is contained in:
parent
1e95560201
commit
4e3b4c6ae1
|
@ -291,7 +291,11 @@ Geth will fail to start in dev-mode if keys have been manually created or import
|
|||
geth --datadir dev-chain --dev --http --http.api web3,eth,net --http.corsdomain "remix.ethereum.org" --password password.txt
|
||||
```
|
||||
|
||||
**Note** that this is an edge-case that applies when both the `--datadir` and `--dev` flags are used and a key has been manually created or imported into the keystore.
|
||||
## Using a Custom Genesis Configuration
|
||||
|
||||
It is possible to use a custom genesis block configuration in development mode. To obtain a compatible configuration, run `geth --dev dumpgenesis`. The resulting genesis has proof-of-stake and all pre-merge hard forks activated at block 0. Precompile addresses are funded to prevent them being removed from the state per EIP158.
|
||||
|
||||
Users are free to modify the generated template provided they keep pre-merge hard-forks and proof-of-stake transition activated at block 0.
|
||||
|
||||
## Summary {#summary}
|
||||
|
||||
|
|
Loading…
Reference in New Issue