Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interop fails on transferFrom EVM contract to Scilla on prototestnet #2020

Open
DrZoltanFazekas opened this issue Dec 16, 2024 · 0 comments
Open
Assignees

Comments

@DrZoltanFazekas
Copy link
Contributor

DrZoltanFazekas commented Dec 16, 2024

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 function readString(): https://github.com/Zilliqa/zilliqa-developer/blob/main/contracts/experimental/ERC20ProxyForZRC2/contracts/ScillaConnector.sol#L197

@DrZoltanFazekas DrZoltanFazekas changed the title Interop fails on transferFrom EVM contract to Scilla Interop fails on transferFrom EVM contract to Scilla on prototestnet Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants