-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
On StateServiceProvider:32 we have a log line
"Trying to pop from empty state-service stack"
which warns when we try to pop a state service fromt the stack but don't have anything on there. The original idea was to prevent nasty programming bugs, but this now leads to trace log messages during compilation (since we obviously don't have any state services on the stack for that.
The above get stateService() isn't called there because it's only used inside witness blocks, which aren't evaluated for compilation or proving.
Maybe we should call pop in such a block as well
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status