diff --git a/ERCS/erc-7751.md b/ERCS/erc-7751.md index d12ad7670e..a88aa7fbc7 100644 --- a/ERCS/erc-7751.md +++ b/ERCS/erc-7751.md @@ -4,7 +4,7 @@ title: Wrapping of bubbled up reverts description: Handling bubbled up reverts using custom errors with additional context author: Daniel Gretzke (@gretzke), Sara Reynolds (@snreynolds), Alice Henshaw (@hensha256), Marko Veniger , Hadrien Croubois (@Amxx) discussions-to: https://ethereum-magicians.org/t/erc-7751-wrapping-of-bubbled-up-reverts/20740 -status: Draft +status: Review type: Standards Track category: ERC created: 2024-08-06 @@ -46,13 +46,13 @@ This ERC does not introduce any backwards incompatibilities. Existing contracts ## Test Cases ```solidity -// SPDX-License-Identifier: MIT +// SPDX-License-Identifier: CC0-1.0 pragma solidity 0.8.26; contract Token { mapping(address => uint256) public balanceOf; - event Transfer(address indexed sender, address indexed recipient, uint amount); + event Transfer(address indexed sender, address indexed recipient, uint amount); function transfer(address to, uint256 amount) external returns (bool) { require(balanceOf[msg.sender] >= amount, "insufficient balance");