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
contractA calls contractB which calls contractC which then emits the event Executed(id).
I want to know who called contractC. using the transaction.from gives the address that initiated tx initially - i.e it returns EOA address. Is it possible to derive contractB ?
I know I can use tracing, but those APIs require archival nodes which I don't have access to. Is there any other way ?
Importantly, OZ's governor doesn't seem to emit msg.sender from its events, so how do they figure out who executed/canceled/queued the proposals ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
contractA
callscontractB
which callscontractC
which then emits the eventExecuted(id)
.I want to know who called
contractC
. using thetransaction.from
gives the address that initiated tx initially - i.e it returns EOA address. Is it possible to derivecontractB
?I know I can use tracing, but those APIs require archival nodes which I don't have access to. Is there any other way ?
Importantly, OZ's governor doesn't seem to emit
msg.sender
from its events, so how do they figure out who executed/canceled/queued the proposals ?Beta Was this translation helpful? Give feedback.
All reactions