-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: return Database::error #318
Conversation
e5d0695
to
d71e836
Compare
This is not optimal as there is a lot of boilerplate code and if you are in 1000 call depth you would copy/move the DB error 1000 times. That is why I have only the simple stupid enum and is |
To make better usage of the memory, we can include the Also, the compiler should be smart enough to move the memory in one go for the |
I can include |
Either way, |
Which changes would you say are unnecessary? Would you like to see how an implementation that uses |
I never intended to remove In the interpreter, Other than that you are adding more code to every instruction to fit |
I made a minimal implementation, as (I think) you envisioned. This should be a lot less intrusive. It also resolved a bunch of in-code |
Change introduced here: #334 |
First step to resolve #309
I wanted to get this under your eyes, to see what you think. This only aims to bubble up the actual
FatalExternalError
s that should not result in any gas cost.