Closed abhi3700 closed 15 hours ago
Contracts can definitely call other contracts, not sure what you mean here. There is no need for DVN.sol to have this verify function because after verification the payload hash is sent to the messagelib (ReceiveUln302) and can be verified at this point in the flow.
I see there is a function missing in
DVN.sol
which should callverify
function ofReceiveUln302.sol
contract. Only then an EOA can call the DVN's function to call upon theverify
function so that DVN ismsg.sender
.I see this code in tests:
which I don't think it's gonna work in real. How can a contract (
DVN
) call another contract (ReceiveUln302
)?DVN.sol
: