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