FluffyLabs / FluffyLabs/pvm-debugger-old

Use recent API consistently.

Open
#131 0 comments 0 reactions 0 assignees View on GitHub
enhancement prio-low
Dominant language
TypeScript
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The tool should use the latest API to interact with the PVM.

As of 2024-10-22, the polkavm package supports both APIs, typeberry still need to switch (CC @mateuszsikora).

I mean specifically:
1. `resetGeneric` as defined in #81 instead of currently used `reset`.
2. `setNextProgramCounter` and `setGasLeft` instead of `resume`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the TypeScript code that calls the PVM APIs, especially the current uses of reset and resume. Read the polkavm and typeberry API usage around those calls, then replace them with resetGeneric, setNextProgramCounter, and setGasLeft as described. Done means the debugger consistently uses the latest API without retaining the older calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.