Skip to content

Commit

Permalink
rebase Andrei's Xi, restructure call, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferinko committed Jul 19, 2024
1 parent 43f1d82 commit 5e6dfc1
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 243 deletions.
2 changes: 2 additions & 0 deletions EvmYul/EVM/Exception.lean
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ inductive Exception where
| Underflow : Exception
| Overflow : Exception
| StopInvoked (s : EVM.State) : Exception
| OutOfFuel : Exception

instance : Repr Exception where
reprPrec s _ := match s with
Expand All @@ -28,6 +29,7 @@ instance : Repr Exception where
| .Underflow => "Underflow"
| .Overflow => "Overflow"
| .StopInvoked _ => "Execution halted by STOP."
| .OutOfFuel => "OutOfFuel"

end EVM

Expand Down
Loading

0 comments on commit 5e6dfc1

Please sign in to comment.