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

feat: allow tracers to stop execution #78

Merged
merged 7 commits into from
Oct 31, 2024
Merged

feat: allow tracers to stop execution #78

merged 7 commits into from
Oct 31, 2024

Conversation

joonazan
Copy link
Contributor

@joonazan joonazan commented Oct 28, 2024

Tracers can now request to stop the VM in Tracer::after_instruction

Makes validation tracer implementation nicer.

@joonazan joonazan marked this pull request as ready for review October 29, 2024 12:37
@joonazan joonazan requested a review from slowli October 29, 2024 12:37
@joonazan joonazan enabled auto-merge (squash) October 29, 2024 12:38
crates/vm2-interface/src/lib.rs Outdated Show resolved Hide resolved
crates/vm2-interface/src/tracer_interface.rs Outdated Show resolved Hide resolved
@joonazan joonazan changed the title feat: allow tracers to stop/suspend execution feat: allow tracers to stop execution Oct 31, 2024
@joonazan joonazan merged commit 457d8a7 into master Oct 31, 2024
10 checks passed
@joonazan joonazan deleted the tracers-can-stop branch October 31, 2024 12:20
joonazan pushed a commit that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


## [0.3.0](v0.2.1...v0.3.0)
(2025-01-27)


### ⚠ BREAKING CHANGES

* Remove EVM emulator gas stipend
([#82](#82))
* Revise VM storage interface
([#73](#73))

### Features

* Allow customizing precompiles logic
([#79](#79))
([3841f5a](3841f5a))
* allow tracers to stop/suspend execution
([#78](#78))
([457d8a7](457d8a7))
* expose storage to tracers
([#77](#77))
([df5bec3](df5bec3))


### Bug Fixes

* **ci:** Update github-hosted runner label
([#80](#80))
([70a6e30](70a6e30))
* failing far call tracing
([#81](#81))
([5df8c33](5df8c33))
* Remove EVM emulator gas stipend
([#82](#82))
([bf63339](bf63339))
* Revise VM storage interface
([#73](#73))
([a233d44](a233d44))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: zksync-era-bot <[email protected]>
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