chuckbergeron / etherplate

🔗 Use this to make your next Ethereum DApp w/ React (& Router), Redux, Bulma & OpenZeppelin ERC721
https://chuckbergeron.io
Other
78 stars 34 forks source link

Compilation error #22

Open pratsD opened 4 years ago

pratsD commented 4 years ago

Hi checked out the code and updated to "@openzeppelin/contracts": "^2.5.0", I get the below compilation error

/etherplate/contracts/NFToken.sol:47:21: DeclarationError: Undeclared identifier. uint256 index = allTokens.length + 1; ^-------^ /etherplate/contracts/NFToken.sol:68:12: DeclarationError: Undeclared identifier. return ownedTokens[msg.sender]; ^---------^

Compilation failed. See above. Truffle v5.1.35 (core: 5.1.35) Node v8.11.3