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

Extract post_injection_handler function #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gshep
Copy link

@gshep gshep commented Jun 5, 2023

Hi everyone!

I would like to present inject function refactoring. It doesn't change any logic nor add any new functionality. It just splits the function into two separate parts (however inject reuses the new one).

This is required to provide ability of code reuse. For example some projects may perform their own custom (business specific logic) instrumentation however it needs to make some steps that are already implemented by wasm-instrument. The intention of the refactoring is to export function performing adjustment of indices after gas counter injection.

@gshep gshep requested review from athei and pepyakin as code owners June 5, 2023 12:59
@gshep
Copy link
Author

gshep commented Jun 11, 2023

ping @athei @pepyakin

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.

1 participant