: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.
This change adds basic tests ensuring the byteLength argument passed to the RPC-JSON Data constructor and factory method are respected internally, and that they are overridden by the argument passed to toString() and toBuffer().
This change adds basic tests ensuring the
byteLength
argument passed to the RPC-JSON Data constructor and factory method are respected internally, and that they are overridden by the argument passed totoString()
andtoBuffer()
.