From cb9b8d93cef154fd6d64ebbfe0097106797049f8 Mon Sep 17 00:00:00 2001 From: rafa3ls <154467290+rafa3ls@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:55:14 +0000 Subject: [PATCH] docs: fix example to avoid "gas required exceeds allowance"-error (#28792) fix chainId and initial balance to avoid error "gas required exceeds allowance --- docs/fundamentals/private-network.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/fundamentals/private-network.md b/docs/fundamentals/private-network.md index f9c8744fd1..585379de59 100644 --- a/docs/fundamentals/private-network.md +++ b/docs/fundamentals/private-network.md @@ -260,7 +260,7 @@ In each data directory save a copy of the following `genesis.json` to the top le ```json { "config": { - "chainId": 12345, + "chainId": 123454321, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0, @@ -283,8 +283,8 @@ In each data directory save a copy of the following `genesis.json` to the top le "gasLimit": "800000000", "extradata": "0x0000000000000000000000000000000000000000000000000000000000000000C1B2c0dFD381e6aC08f34816172d6343Decbb12b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "alloc": { - "C1B2c0dFD381e6aC08f34816172d6343Decbb12b": { "balance": "500000" }, - "c94d95a5106270775351eecfe43f97e8e75e59e8": { "balance": "500000" } + "C1B2c0dFD381e6aC08f34816172d6343Decbb12b": { "balance": "1000000000000000000" }, + "c94d95a5106270775351eecfe43f97e8e75e59e8": { "balance": "1000000000000000000" } } } ```