Closed ok300 closed 1 month ago
Some amount fields in swap create requests were u32, while other relevant fields (fees, min/max in pair limits) were u64.
u32
u64
This meant conversion or typecasting was often necessary when interacting between the two.
To simplify this in callers, this PR updates the u32 amount fields in Swap Create requests to u64.
Thanks @ok300
Some amount fields in swap create requests were
u32
, while other relevant fields (fees, min/max in pair limits) wereu64
.This meant conversion or typecasting was often necessary when interacting between the two.
To simplify this in callers, this PR updates the
u32
amount fields in Swap Create requests tou64
.