FuelLabs / FuelLabs/sway-libs

Migrate `b256_to_ascii_bytes` from solana connector to sway libs

Open
#296 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Sway
Stars
145
Forks
67
Avg merge
1d 12h
Merged PRs (30d)
4

Description

Migrate `b256_to_ascii_bytes` to sway-libs
It's important to do it before we audit predicate of solana connectors

https://github.com/FuelLabs/fuel-connectors/blob/1d90228e5425ab4dc8018f72e09797ef385f2ab6/packages/solana-connector/predicate/src/main.sw#L38-L51

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked implementation in the Solana connector at predicate/src/main.sw lines 38-51, then inspect sway-libs for the appropriate library location and conventions. Done means b256_to_ascii_bytes is available from sway-libs and the connector can use the migrated implementation before its predicate audit.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.