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.62k stars 678 forks source link

notify user when they have signed a transaction with a fake private key #4170

Open MicaiahReid opened 1 year ago

MicaiahReid commented 1 year ago

Either log or throw when a user starts Ganache with --wallet.unlockedAccounts and then uses that count for eth_signTransaction, because the signature is not really valid and it's confusing. We should log/throw for any case where we are using a fake private key to sign.