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

[CodeArena] - [M-03] : Ensure no ETH sent for non-ETH transfer #63

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

maximebrugel
Copy link
Contributor

@maximebrugel maximebrugel added the To review Let people know this PR is ready for a review label Dec 14, 2021
@@ -454,6 +454,7 @@ contract NestedFactory is INestedFactory, ReentrancyGuard, Ownable, MixinOperato
weth.deposit{ value: msg.value }();
_inputToken = IERC20(address(weth));
} else {
require(msg.value == 0, "NF: NON_ETH_TRANSFER");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💅 Proposal:
"NF: UNSUPPORTED_ETH_TRANSFER"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝

@adrien-supizet adrien-supizet added Fix and merge Minor changes required and removed To review Let people know this PR is ready for a review labels Dec 14, 2021
@maximebrugel maximebrugel merged commit 971af5a into codearena Dec 21, 2021
@maximebrugel maximebrugel deleted the codearena-136 branch December 21, 2021 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix and merge Minor changes required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants