Skip to content
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

fix: concrete exitcode for precompile #286

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

daejunpark
Copy link
Collaborator

@daejunpark daejunpark commented May 11, 2024

when the exitcode is concrete, push the concrete value directly, instead of the exitcode variable.

@daejunpark daejunpark requested a review from karmacoma-eth May 11, 2024 08:18
console.handle(ex, arg)

# push exit code
ex.path.append(exit_code_var == exit_code)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need exit_code_var at all in the concrete case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is there because it is used in ex.calls.append() later. if we remove ex.calls later, the exit code var wouldn't be needed in the concrete case.

Copy link
Collaborator

@karmacoma-eth karmacoma-eth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👌

@daejunpark daejunpark merged commit 5a7bedc into main May 13, 2024
62 checks passed
@daejunpark daejunpark deleted the fix/precompile-exitcode branch May 13, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants