From 20dae3df7a2cb173a873857a198f3c694d4d5023 Mon Sep 17 00:00:00 2001 From: "@rafa3ls" Date: Thu, 11 Jan 2024 06:37:44 -0500 Subject: [PATCH] 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" } } } ```