FluffyLabs / FluffyLabs/typeberry

Implement RefineExternalitiesImpl

Open
#877 0 comments 0 reactions 0 assignees View on GitHub
M-execution
Dominant language
TypeScript
Stars
10
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Follow-up task from PR #859: https://github.com/FluffyLabs/typeberry/pull/859

Machine-related work to be split into multiple PRs.

Currently, `RefineExternalitiesImpl` is a stub implementation with all methods throwing "Method not implemented." errors. This task involves implementing the actual machine-level operations including:
- [ ] Machine expunge, pages management, void/zero pages
- [ ] Memory peek/poke operations
- [ ] Machine initialization and invocation
- [ ] Segment export
- [ ] Historical lookups

Each point should be handled separately as a sub-task.

Requested by: @tomusdrw
Reference: https://github.com/FluffyLabs/typeberry/pull/859#discussion_r

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with RefineExternalitiesImpl and PR #859, then identify how its stub methods map to the listed machine operations. Split the work into separate subtasks for pages and expunge, memory access, initialization and invocation, segment export, and historical lookups; done means each selected operation no longer throws a not-implemented error and has appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.