why contract function return value is changed? #4518
Replies: 2 comments 2 replies
-
I’m guessing you mean between v5 and v6? In v6, the Result object is a proper subclass of Array wrapped in a proxy. The keys still exist; e.g. You can also use |
Beta Was this translation helpful? Give feedback.
2 replies
-
It turns out that it was caused by my destructuring the return value.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
before:
now:
I don’t think it’s a version issue with ethers, I know that I can get the previous return value through
toObject
, but I want to know what happenedBeta Was this translation helpful? Give feedback.
All reactions