Hi @nikitafuchs.chain, I know that you are the main editor of the fire editor, is this hint wrong:
The init function should not be
public entrypoint init() =
but
stateful entrypoint init() =
Is that correct?
Hi @nikitafuchs.chain, I know that you are the main editor of the fire editor, is this hint wrong:
The init function should not be
public entrypoint init() =
but
stateful entrypoint init() =
Is that correct?
init
doesn’t have to be stateful
, also public
is not needed here, as entrypoint
implies public
.
Good catch, fixed to correct and more beginner friendly stateful entrypoint init
, like also seen in the example contract.
hehe thanks! happy that I could help