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
Is your feature request related to a problem? Please describe.
There is an explanation how method IDs are calculated if not set explicitly https://docs.ton.org/develop/func/functions#method_id, but what are the restrictions on method ID values if the programmer sets it by hand?
For instance, FunC allows method IDs to be larger than 257-bit integers:
int %foo() method_id(0x6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) {
return 42;
}
But on the other hand there is a limit, so the following
int %foo() method_id(0x7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) {
return 42;
}
Is your feature request related to a problem? Please describe.
There is an explanation how method IDs are calculated if not set explicitly https://docs.ton.org/develop/func/functions#method_id, but what are the restrictions on method ID values if the programmer sets it by hand?
For instance, FunC allows method IDs to be larger than 257-bit integers:
But on the other hand there is a limit, so the following
throws an error like so:
Describe the solution you'd like
DECLMETHOD
indices) in TVMAdditional context
No response
The text was updated successfully, but these errors were encountered: