keep-starknet-strange / satoru

Synthetics platform for Starknet, inspired by GMX v2 design.
https://book.satoru.run/
MIT License
110 stars 73 forks source link

Migrating u128 to u256 #615

Closed prtk418 closed 7 months ago

prtk418 commented 7 months ago

Pull Request type

Please add the labels corresponding to the type of changes your PR introduces:

What is the current behavior?

Currently the system is limited to 128 bit integers

What is the new behavior?

System can support 256 bit integers, in context to allow tokens from EVM ecosystem since they have u256 by default

Does this introduce a breaking change?

No, however if there are other open active branches being worked on needs to be using u256 types

Other information

The PR migrates u128 to u256 and i128 to u256 to make system compatible with EVM based erc20s