Skip to content

Add XDR Encode and Decode Support for SCMap #249

@codeZe-us

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

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaignhelp wantedExtra attention is needed

Type

No type
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