A part of return value of "paramType.format("json")" is missing. #4078
Closed
CrystalBallBe
started this conversation in
General
Replies: 1 comment
-
This was a bug and fixed in v6.6.5. |
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.
-
When the value of
type
that is a property ofparamType
, istuple[]
,components
that part of the return value of the methodparamType.format("json")
is missing.I think this process is done in the following source:
https://github.com/ethers-io/ethers.js/blob/c785c1e5153d5a85a78f90f177577f2c8df15529/src.ts/abi/fragments.ts#LL606C12-L606C12
It seems to me that the process that generates components' from 'arrayChildren' is missing when
baseType === "array"
.Reproduced at
https://codesandbox.io/s/paramtypejsonformattest-tx8zub?file=/src/index.js
Is this a bug? If not, is there any way to restore the original JSON from
paramType
?Beta Was this translation helpful? Give feedback.
All reactions