You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used radare-extras to debug the evm bytecode. However, when the contract A enter another contract B through delegatecall opcode, the Disassembly panel display A bytecode but not B bytecdoe. But the Stack panel work well. What's problem?
thanks!
The text was updated successfully, but these errors were encountered:
On 30 Dec 2018, at 09:42, 何嘉浩 ***@***.***> wrote:
I used radare-extras to debug the evm bytecode. However, when the contract A enter another contract B through delegatecall opcode, the Disassembly panel display A bytecode but not B bytecdoe. But the Stack panel work well. What's problem?
thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
I deploy two contract into ganache, and call the second contract's test(). pragma solidity ^0.4.0; contract Example1{ uint a = 0; function setA() public { a = 222; } } pragma solidity ^0.4.0; contract Example2{ function test() public { address addr = 0xc85f548461bec5fdbafadac51aad3f9d7521bfa9; //the address of first contract(Example1) addr.delegatecall(0x1fc376f7);//call setA in Example1 } }
Then I use radare-extras to debug this tx. It work well when debug in Example, but got problem after
enter Example through delegatecall.
I used radare-extras to debug the evm bytecode. However, when the contract A enter another contract B through delegatecall opcode, the Disassembly panel display A bytecode but not B bytecdoe. But the Stack panel work well. What's problem?
thanks!
The text was updated successfully, but these errors were encountered: