web3.js icon indicating copy to clipboard operation
web3.js copied to clipboard

Investigate keep calling `eth_getBlockByNumber` at @truffle/artifactor after the upgrade to v4.x

Open Muhammad-Altabba opened this issue 2 years ago • 1 comments

Investigate in the branch of https://github.com/trufflesuite/truffle/pull/5393

To reproduce

yarn
cd packages/artifactor
yarn test

Logs

Then the tests pass but the execution never ends. And the following keep printing in the console:

...
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
@truffle/artifactor: eth_getBlockByNumber
...

Muhammad-Altabba avatar Sep 20 '23 18:09 Muhammad-Altabba

The following is unrelated, but the code is around: https://github.com/web3/web3.js/issues/6328

Muhammad-Altabba avatar Sep 26 '23 14:09 Muhammad-Altabba