Interop fails on transferFrom
EVM contract to Scilla on prototestnet
#2020
Labels
bug
Something isn't working
transferFrom
EVM contract to Scilla on prototestnet
#2020
User reported following issue using the recently patched ScillaConnector Library:
If I try to call transferFrom from another EVM-Contract after I approve an amount from this EVM-Contract as spender I try to call a function which is delegate transferFrom I got an Error
Uncaught (in promise) Error: missing revert data (action="estimateGas", data=null, reason=null, transaction={ "data": "0xa694fc3a0000000000000000000000000000000000000000000000000000000005f5e100", "from": "0x158517A8E13e93965e4Ee6fd894984d7fcC9B1bB", "to": "0x2156Ad54CE302E4088F9689e34DB524423aCef47" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.13.4)
If I remove require(success); in ScillaConnector.sol. from it works but no transfer happens.
Furthermore, the
bool success
variable is declared twice in the functionreadString()
: https://github.com/Zilliqa/zilliqa-developer/blob/main/contracts/experimental/ERC20ProxyForZRC2/contracts/ScillaConnector.sol#L197The text was updated successfully, but these errors were encountered: