FuelLabs/fuel-core

Add roundtrip compression tests to show all coin types are covered

Open

#3073 opened on Aug 1, 2025

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

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