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
my_method_2 doesn't serialize properly when testing with javascript. This is likely because the IDL's conversion to camelCase makes it ambiguous as to whether the name is my_method2 vs my_method_2. Fix should be to use snake_case in the IDL.
The text was updated successfully, but these errors were encountered:
@armaniferrante just to make sure I understand correctly, are you saying that the IDL and therefore the clients should just use snake_case and we remove the conversion to camelCase? So the js function will look exactly like the anchor rust function?
my_method_2
doesn't serialize properly when testing with javascript. This is likely because the IDL's conversion to camelCase makes it ambiguous as to whether the name ismy_method2
vsmy_method_2
. Fix should be to usesnake_case
in the IDL.The text was updated successfully, but these errors were encountered: