-
Notifications
You must be signed in to change notification settings - Fork 263
Open
Description
I need an initial state for the network. On order to achieve it, I'm adding the alloc of the genesis file to prefunded_accounts
. This alloc contains accounts and contracts. The problem is that seems this value is injected as an ENV in the container and due to the kernel limit I can only attach a genesis smaller than 128KB.
The 128 KiB limit is hard-wired in the Linux kernel (MAX_ARG_STRLEN = PAGE_SIZE × 32), so a single environment variable longer than that will always make the next execve() fail with E2BIG → “Argument list too long”.
I'm running Geth + lighthouse.
Is there another way to inject the genesis to the container?? For instance injecting the file instead of the ENV.
Metadata
Metadata
Assignees
Labels
No labels