ChainSafe / ChainSafe/gossamer

Introduce translation shim type required to implement `Network` and `Syncing`

Open
#4,798 0 comments 0 reactions 0 assignees View on GitHub
T-implementation
Dominant language
Go
Stars
454
Forks
144
PR merge metrics
No merged PRs in 30d

Description

## Issue summary

- Introduce translation shim type that implements `Network` and `Syncing`.

## Implementation details

- Place in seperate package to avoid circular dependencies.
- Needs to implement all `Network` and `Syning` methods but should panic on call

## Other information and links

## Acceptance criteria

[] Implements `Network`
[] Implements `Syncing`

Contributor guide

Open the contributing guide

Research direction

Start by locating the definitions of the `Network` and `Syncing` interfaces and their methods. Add the translation shim in a separate package to avoid circular dependencies, then verify that it implements both interfaces and that each method panics when called; add tests covering the interface assertions and panic behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
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.