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 676 forks source link

Ganache API docs include examples that use the pile of legacy waste that is `provider.send()` #4400

Open gnidan opened 1 year ago

gnidan commented 1 year ago

Someone just told me that they copied an example from https://ganache.dev, which said to use provider.send(), but the syntax it uses is not compatible with truffle test. We should just use provider.request() in all examples, since that's a standard. Do you know how poorly-defined provider.send() is? You don't want to know. Just purge it. Never mention it again. provider.request() is nice.