Skip to content

Commit

Permalink
Merge pull request ethereum#5 from xDeSAT/fix/erc7578-linearization
Browse files Browse the repository at this point in the history
Fix potential linearization issue when inheriting 'ERC721' in the child contract
  • Loading branch information
V1d0r authored Jun 3, 2024
2 parents b2af209 + 6409fa4 commit a35c043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ERCS/erc-7578.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ An example of an [ERC-721](./eip-721.md) that includes this proposal using the O
```solidity
pragma solidity ^0.8.21;
import { ERC721 } from "@openzeppelin/contracts-v5/token/ERC721/ERC721.sol";
import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { IERC7578, Properties, Amount } from "./interfaces/IERC7578.sol";
/**
* @title ERC7578
* @author DESAT
* @notice Implementation of the ERC-7578: Physical Asset Redemption standard
**/
contract ERC7578 is IERC7578, ERC721 {
contract ERC7578 is ERC721, IERC7578 {
/**
* @notice Thrown when the properties of a token are not initialized
*/
Expand Down

0 comments on commit a35c043

Please sign in to comment.