velodrome-finance / sugar

Sugar makes Velodrome devs life sweeter 🍭
Other
47 stars 26 forks source link

fix: symbol string size #95

Open ethzoomer opened 13 hours ago

ethzoomer commented 13 hours ago

Closes #94

ethzoomer commented 13 hours ago

Currently on this branch, a v2 pool containing a token with too large of a symbol returns "-NA-" for the pool symbol which is probably not ideal. Need to understand how to slice the response of the raw_call without making abi_decode() revert