Open nventuro opened 5 years ago
Can a contract return more levels of array nesting? Should we support that too?
A contract can not support array nesting. I was looking forward the check of big numbers array too.
I've started a draft PR: https://github.com/OpenZeppelin/openzeppelin-test-helpers/pull/106
Given the use of deep.equal
for event parameters as of #112 , this might be implemented by switching to https://www.npmjs.com/package/deep-equal-extended, which supports BNs in deep equality checks.
See here for an instance where an event argument has a value with type
uint64[3]
.