Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

Introduce tests for making the stack check stable in compilation #324

Description

@clearloop

It could be not proper performing stack checks on compilation, for functions like the dispatcher, branches may result in different output, which break the balance of the stack!

for example, in the implementation of huff, we can see they specified the stack output of each function: https://docs.huff.sh/get-started/huff-by-example/#custom-errors

I believe there are sort of solutions in https://docs.huff.sh/tutorial/function-dispatching/#linear-dispatching that can help us finish our work for the stack checks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions