Check stateful annotations #560
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "PT-162578475-stateful"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: UlfNorell
stateful
PT-162578475init
PT-160750930cc https://github.com/aeternity/protocol/pull/352
Functions must be annotated as
stateful
in order toput
)Chain.spend
or other primitive functions that cost tokensIt does not need to be stateful to
There is a separate check for
init
that it neither reads nor writes the state. It can be stateful in the other senses though.Created by: hanssv
Review: Approved
Created by: ThomasArts
does this really work? Attribute must then contain {stateful, true}, I guess. I'm concerned about proplists:get_value in the bottom instead of prop_lists:is_defined.
Created by: ThomasArts
Review: Approved
Created by: UlfNorell
Merged by: UlfNorell at 2019-05-15 13:44:38 UTC