: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.
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.
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 withtruffle test
. We should just useprovider.request()
in all examples, since that's a standard. Do you know how poorly-definedprovider.send()
is? You don't want to know. Just purge it. Never mention it again.provider.request()
is nice.