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: failing far call tracing #81

Merged
merged 5 commits into from
Jan 23, 2025
Merged

fix: failing far call tracing #81

merged 5 commits into from
Jan 23, 2025

Conversation

joonazan
Copy link
Contributor

Fixes tracing so that a failed far call reports a far call and then a panic to tracers instead of reporting the panic in the middle of the far call.

This should be fine performance-wise, as creating new frames has
become much cheaper with the recycling of stacks.
@joonazan joonazan marked this pull request as ready for review January 21, 2025 17:37
@joonazan joonazan requested a review from slowli January 21, 2025 17:37
slowli
slowli previously approved these changes Jan 22, 2025
crates/vm2/src/instruction_handlers/far_call.rs Outdated Show resolved Hide resolved
@joonazan joonazan requested a review from slowli January 22, 2025 13:50
@joonazan joonazan enabled auto-merge (squash) January 22, 2025 13:51
@joonazan joonazan merged commit 5df8c33 into master Jan 23, 2025
8 checks passed
@joonazan joonazan deleted the failed-far-call-tracing branch January 23, 2025 09:02
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