Skip to content

Reduce usage of #[serde_as(as = "Hex")] introduced in PR #1843. #1860

@pbeza

Description

@pbeza

Background

This is a follow-up to #1843 — specifically, my comment #1843 (comment) about using:

#[serde_as]
pub struct Sha256Digest(#[serde_as(as = "Hex")] pub [u8; 32]);

instead of copy-pasting #[serde_as(as = "Hex")] everywhere.

It turns out this introduces a cascade of required changes, so I split it out into a separate issue (this one).

User Story

No response

Acceptance Criteria

Reduce usage of #[serde_as(as = "Hex")] introduced in #1843.

Resources & Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorImprovements to code structure, readability, or performance that don't add new features or fix bugs.tech-debt

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions