-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCD does not display contract's entrypoint name #716
Comments
Hey @rognierbenoit, BCD does not display intermediate entrypoints indeed, only the terminating ones, and moreover tries to "normalize" transaction parameters in case a contract is called with default/intermediate entrypoint. |
thank you Michael for your feedback. I don't know what an "intermediate endpoint" is. The parameter type is I think that the algo that searchs for entrypoints should stop when an annotation is met: here it should consider the second branch of the first |
In your case you have the following nested sum type:
There is a root (you can call your contract with the following params: ( BCD recognizes only terminal nodes and since they are not named it will use inferred names |
Hi, when an entrypoint has one parameter of type OR, BCD does not find the entrypoint name.
For example :
https://better-call.dev/florencenet/KT1DHT7AQog7Ybnxm3yHSGUk2B1oY75zuKym/code
The entrypoint's name is displayed as
entrypoint_2
while it should besecond
(this is because its argument typeOR nat string
is confused with the OR structure that describes entrypoints).The archetype source code of this contract :
Regards,
Ben
The text was updated successfully, but these errors were encountered: