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

feat: added SenderNotSystemContract check to the omnichain template #33

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

fadeev
Copy link
Member

@fadeev fadeev commented Aug 17, 2023

Added the following check to the omnichain contract template onCrossChainCall:

error SenderNotSystemContract();
if (msg.sender != address(systemContract)) {
    revert SenderNotSystemContract();
}

@fadeev fadeev changed the title feat: added SenderNotSystemContract check feat: added SenderNotSystemContract check to the omnichain template Aug 17, 2023
@fadeev
Copy link
Member Author

fadeev commented Aug 17, 2023

Let's merge this and release v2.0.0 right after.

@fadeev fadeev merged commit c2c4de8 into main Aug 17, 2023
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants