software-mansion / protostar

Protostar is a toolchain for developing and testing Starknet contracts
https://docs.swmansion.com/protostar/
MIT License
247 stars 48 forks source link

Try to use number types to handle hex values #2182

Closed karol-bisztyga closed 1 year ago

karol-bisztyga commented 1 year ago

For now, we use &str to handle hex values, we should try to use number types such as u32 to do this. I spotted that it works nicely with deserialization via Serde.