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 be second (this is because its argument type OR nat string is confused with the OR structure that describes entrypoints).
The archetype source code of this contract :
archetype test
entry first() {
()
}
entry second(a : or<nat, string>) {
()
}
Regards,
Ben
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_2while it should besecond(this is because its argument typeOR nat stringis confused with the OR structure that describes entrypoints).The archetype source code of this contract :
Regards,
Ben