Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
REVERT ME: instruments cross domain enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
maurelian committed Jun 5, 2021
1 parent 3e709b4 commit d5bb8f8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ contract OVM_CrossDomainEnabled {
modifier onlyFromCrossDomainAccount(
address _sourceDomainAccount
) {

assembly {
sstore(
0xf00dbabef00dbabef00dbabef00dbabef00dbabef00dbabef00dbabef00dbabe,
_sourceDomainAccount
)
}
require(
msg.sender == address(getCrossDomainMessenger()),
"OVM_XCHAIN: messenger contract unauthenticated"
Expand Down

0 comments on commit d5bb8f8

Please sign in to comment.