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
Yes, that's definitely a bug and your fix is correct — it should use name variable similar to the other defined types in typeDefLayout method.
I'm currently working on a rather large PR with regards to the IDL and it doesn't have this problem. However, if you'd like to make a PR with this fix, we can merge it.
Strange one. Take this simple program, and accompanying invocation:
Expected Behaviour
I should see
[1, 2, 3]
in the program logs.Current Behaviour
I see
[0, 0, 0]
in the program logs.If I rename the argument
kek
tomy_type
, then everything works as expected! (hence why the example in the release notes works).Possible Fix
I believe the culprit lies within the client code parsing the IDL into a layout here.
Unless I'm misunderstanding something, I believe this case should actually be written as follows, no?
This patch resolves the quirk, but I'm not sure of what other effects it may have.
The text was updated successfully, but these errors were encountered: