Skip to content

wasmer prod instance - set_breakpoint_value_legacy fix#89

Merged
andrei-marinica merged 2 commits intomasterfrom
prod-breakpoint-fix
Apr 17, 2026
Merged

wasmer prod instance - set_breakpoint_value_legacy fix#89
andrei-marinica merged 2 commits intomasterfrom
prod-breakpoint-fix

Conversation

@andrei-marinica
Copy link
Copy Markdown
Contributor

@andrei-marinica andrei-marinica commented Apr 16, 2026

Pull request overview

Fixes how legacy breakpoint values are set on the Wasmer production instance state by using the legacy breakpoint type directly (instead of converting from the “new” breakpoint type), aligning with the underlying InstanceLegacy::set_breakpoint_value API.

Changes:

  • Update WasmerProdInstanceState::set_breakpoint_value_legacy to accept BreakpointValueLegacy.
  • Pass the legacy value directly to WasmerInstance::set_breakpoint_value (remove to_legacy() conversion).
  • Adjust imports accordingly.

Compatibility

The wasmer-prod crate is not released, it is imported in the Rust VM via git hash. Method set_breakpoint_value_legacy is only used there. See multiversx/mx-sdk-rs#2348

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes how legacy breakpoint values are set on the Wasmer production instance state by using the legacy breakpoint type directly (instead of converting from the “new” breakpoint type), aligning with the underlying InstanceLegacy::set_breakpoint_value API.

Changes:

  • Update WasmerProdInstanceState::set_breakpoint_value_legacy to accept BreakpointValueLegacy.
  • Pass the legacy value directly to WasmerInstance::set_breakpoint_value (remove to_legacy() conversion).
  • Adjust imports accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread vm-executor-wasmer/src/new_traits/wasmer_prod_instance_state.rs Outdated
@andrei-marinica andrei-marinica merged commit 4af36a9 into master Apr 17, 2026
7 checks passed
@andrei-marinica andrei-marinica deleted the prod-breakpoint-fix branch April 17, 2026 00:18
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