Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

System Error when running Ganache 2.5.4 on darwin #4295

Open
juholeht opened this issue Mar 23, 2022 · 0 comments
Open

System Error when running Ganache 2.5.4 on darwin #4295

juholeht opened this issue Mar 23, 2022 · 0 comments

Comments

@juholeht
Copy link

I'm experimenting with ganache and trying to migrate my contracts to ganache development chain.

One of my contracts contains array of 10k addresses:
address[] internal largeAmountOfAddresses = [< insert 10k addresses >];

Migration for such contract fails with following error:
Could not connect to your Ethereum client with the following parameters

After failed migration I can't connect even to console:
truffle console --network development

Once I go to ganache UI and select "Switch network" and "Quickstart", I get the error below.
(If I reproduce the same scenario with small array of addresses, migration is successful. Ganache needs to be restarted between scenarios tho...)

PLATFORM: darwin
GANACHE VERSION: 2.5.4

EXCEPTION:

Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
    at ChildProcess.send (internal/child_process.js:678:16)
    at /webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:81:21
    at new Promise (<anonymous>)
    at EthereumChainService_EthereumChainService.startServer (/webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:70:14)
    at ethereum_Ethereum.startServer (/webpack:/src/integrations/ethereum/index.js:155:23)
    at integrations_IntegrationManager.startServer (/webpack:/src/integrations/index.js:98:27)
    at IpcMainImpl.<anonymous> (/webpack:/src/main/index.js:486:28)
@davidmurdoch davidmurdoch transferred this issue from trufflesuite/ganache Mar 23, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant