OpenZeppelin / docs.openzeppelin.com

Source for the OpenZeppelin documentation site
https://docs.openzeppelin.com
45 stars 87 forks source link

fix for auth smart contract in learn documentation #299

Closed koolamusic closed 3 years ago

koolamusic commented 3 years ago

Using solidity from version 0.8.0 I get this error with the Box and Auth Example

transact to Box.store errored: VM error: revert.

revert
    The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance.
Debug the transaction to get more information.