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
There may be a valid reason for this, but I can't think of it. I would have expected the same behaviour as @allow.create() and @allow.call(), where it only creates the route for whichever one you use.
For example when I specify @allow.bareCall("OptIn") it will add both create_OptIn and call_OptIn. Even though the create_OptIn immediately leads to an err, shouldn't it use NOT_IMPLEMENTED instead?
import { Contract } from '@algorandfoundation/tealscript';
class Demo extends Contract {
createApplication(): void {
}
@allow.bareCall"OptIn")
my_method(): void {}
}
There may be a valid reason for this, but I can't think of it. I would have expected the same behaviour as
@allow.create()
and@allow.call()
, where it only creates the route for whichever one you use.For example when I specify
@allow.bareCall("OptIn")
it will add bothcreate_OptIn
andcall_OptIn
. Even though thecreate_OptIn
immediately leads to anerr
, shouldn't it useNOT_IMPLEMENTED
instead?The text was updated successfully, but these errors were encountered: