ergo
ergo copied to clipboard
Cicero should not allow stateful clause templates without an init method
Describe the bug If a stateful smart clause template has a state.json file then cicero execute will run fine. However when the smart clause template is run it will get a runtime exception as the state has not been initialized.
To Reproduce Run the attached .cta file. [email protected]
Expected behavior cicero parse should produce an error if there is state accessed but no init method.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context Cicero 0.13