diff --git a/boa3/builtin/compile_time/__init__.py b/boa3/builtin/compile_time/__init__.py index f8a8cd5e..84174e9c 100644 --- a/boa3/builtin/compile_time/__init__.py +++ b/boa3/builtin/compile_time/__init__.py @@ -39,7 +39,7 @@ def CreateNewEvent(arguments: list[tuple[str, type]] = [], event_name: str = '') @deprecated(details='This module is deprecated. Use boa3.sc.compiletime instead') -def public(name: str = None, safe: bool = True, *args, **kwargs): +def public(name: str = None, safe: bool = False, *args, **kwargs): """ This decorator identifies which methods should be included in the abi file. Adding this decorator to a function means it could be called externally. diff --git a/boa3/sc/compiletime/__init__.py b/boa3/sc/compiletime/__init__.py index f27c32c9..a8a6489b 100644 --- a/boa3/sc/compiletime/__init__.py +++ b/boa3/sc/compiletime/__init__.py @@ -8,7 +8,7 @@ from typing import Any -def public(name: str = None, safe: bool = True, *args, **kwargs): +def public(name: str = None, safe: bool = False, *args, **kwargs): """ This decorator identifies which methods should be included in the abi file. Adding this decorator to a function means it could be called externally.