blockful-io / swaplace-contracts

Swaplace is an open-source, ownerless and feeless token swap protocol
https://app.swaplace.xyz/
MIT License
33 stars 33 forks source link

fix: Change the `value` from uint56 to uint256 #214

Closed blackbeard002 closed 3 months ago

blackbeard002 commented 3 months ago

Bug Report

Swaplace version

Current behavior

Underflow or overflow is currently occurring during arithmetic operations due to size of the variable called value which holds the value to be sent to the recipient after being decoded from the config

Expected behavior

Steps to reproduce

Related code

insert short code snippets here

Other information

Change the value from uint56 to uint256 to avoid this error

blackbeard002 commented 3 months ago

Hey @0xneves please assign me

blackbeard002 commented 3 months ago

Hey @0xneves made a PR that closes this #215