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
    Feb 12 '18 at 5:28

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.


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

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


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, privacy policy and cookie policy

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