Problem: sendToCosmos
can be called with non erc20 tokens
#72
Labels
gravity bridge
This issue or pull request is related to the Gravity Bridge functionality
help wanted
Extra attention is needed
https://github.com/FrancoCRO/eth-gravity/blob/feature/erc721-to-gravity/test/Gravity.test.js#L19
Franco did the test that one can call
sendToCosmos
with an erc721 token, because erc721 and erc20 using the same method signatures, but gravity bridge will treat it as a fungible token and cause a disastrous result, user could lose their nfts.The text was updated successfully, but these errors were encountered: