When connecting Metamask with Ganache-Cli, as soon it generates the accounts and keys, the command window is getting filled with "eth_getBlockByNumber" continuouslyenter image description here, has anyone else faced the issue?


  • I have exactly the same issue. What is happening???
    – mesqueeb
    Commented Feb 12, 2018 at 5:28

3 Answers 3


It's because Metamask is pooling for the latest block number.

See here : https://github.com/trufflesuite/ganache-cli-archive/issues/379


you are running test RPC that is how it looks like. If you stop test RPC then your blocks would not be fixed in the chain, which is created internally in the system.


What you see is ganache-cli logging.

You can turn it off using the -q option like so:

$ ganache-cli -q

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.