You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently inputs for ByteArray are typed as string in contracts.gen.ts. This is correct for models.gen.ts as they are indexed as so, however for call inputs this results in deserialization errors.
Describe the bug
Some issues in my generated bindings other than those listed in #2715.
To Reproduce
or find the file here:
Nested structs
It seems the bindings produced in
models.gen.ts
do not define types in theSchema
when nested.Current behavior
Expected behavior
Undefined input structs
I have one case in my
contracts.gen.ts
where an input struct is not defined (it's not stored in a model).Current behavior
Expected Behaviour
ByteArray
Currently inputs for
ByteArray
are typed asstring
incontracts.gen.ts
. This is correct formodels.gen.ts
as they are indexed as so, however for call inputs this results in deserialization errors.Current behavior
Expected behavior
Where ByteArray is generated by:
The text was updated successfully, but these errors were encountered: