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.61k stars 674 forks source link

Ganache fork double spending gas usage @7.7.4 #4209

Open arielforte opened 1 year ago

arielforte commented 1 year ago

Ganache version 7.7.4 forking using Infura. After a transaction, the ganache computes the gas usage x2. Then, I reverted to 7.3.2, and the balance was perfect again.

arielforte commented 1 year ago

Transactions using Hardhat (2.9.6) with ethers (5.6.8) and Ganache 7.7.4 subtract gas usage x2 from the balance. Using Ganache 7.3.2, the balance is correct.

davidmurdoch commented 1 year ago

Hm, interesting finding. Does this happen on v7.6.0?