Skip to content

Add XDR Encode and Decode Support for SCMap #218

Description

@codeZe-us

SCMap is a key-value structure used in contract storage and arguments. It depends on SCVal being complete first, then wraps it as an ordered map type.

  • Implement XdrCodec for SCMap as a sorted vector of SCMapEntry pairs
  • Add round-trip tests covering empty maps, single entries, and multi-entry maps

Expectations: SCMap encodes and decodes correctly and tests pass with no panics on edge cases.

Join the group: https://t.me/+sII7WPhll2liMGNk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions