trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.6k stars 676 forks source link

eth_getTransactionCount pending does not take into account tx in the local mempool #4556

Closed mprakhov17 closed 6 months ago

mprakhov17 commented 7 months ago

Repro steps:

  1. Configure ganache with blockTime = 300
  2. Write tx
  3. Check eth_getTransactionCount with pending and latest param before the block will be minted

Expected: eth_getTransactionCount pending return latest + 1 (tx count in the local mempool). pending > latest

Actual: eth_getTransactionCount pending and latest returns the same amount

MadelineMurray commented 6 months ago

hi @mprakhov17 - Truffle and Ganache are being sunset. For more information and migration options, click here.