Zilliqa / zilliqa-rs

Zilliqa rust SDK
5 stars 1 forks source link

Map scilla type to appropriate rust type for states #21

Closed its-saeed closed 10 months ago

its-saeed commented 10 months ago

Currently, due to some problem with Serde, all states are treated as a string, no matter if they're numbers. The problem is Zilliqa sever sends numbers as strings and Serde doesn't implecitely convert that to number. For the sake of simplicity, we don't convert them to numbers for now.

The main issue is where we have a map of string->number.