FuelLabs/fuel-core

Add roundtrip compression tests to show all coin types are covered

Open

#3,073 opened on Aug 1, 2025

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Rust (2,861 forks)batch import
good first issue

Repository metrics

Stars
 (57,084 stars)
PR merge metrics
 (Avg merge 8h 53m) (1 merged PR in 30d)

Description

Followup to https://github.com/FuelLabs/fuel-core/pull/3071#discussion_r2247556627

We were missing Variable and Change output when constructing the CompressionContext, but no tests were breaking. We need to clarify the expected behavior with tests.

Currently there are some roundtrip compression tests (e.g. postcard_roundtrip_v0) but they don't cover the aforementioned cases.

Contributor guide