Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Tutorial completion fails on running test #8

Closed
danoctavian opened this issue Mar 6, 2021 · 3 comments
Closed

Tutorial completion fails on running test #8

danoctavian opened this issue Mar 6, 2021 · 3 comments

Comments

@danoctavian
Copy link

Forked the tutorial here and followed the steps according to readme.
https://github.com/danoctavian/optimism-tutorial/tree/13391946ef39cbed13897b9193980ba0249ecb8b

OS: macos: 10.15.7
yarn version: 1.22.10
node version: v10.23.0
npm version: 6.14.8

yarn test fails with:

  Optmistic ERC20
    the basics
      1) "before each" hook for "should have a name"


  8 passing (1s)
  1 failing

  1) Optmistic ERC20
       "before each" hook for "should have a name":
     Error: Transaction reverted without a reason
      at <UnrecognizedContract>.constructor (unknown)
      at process._tickCallback (internal/process/next_tick.js:68:7)
      ```
      
  
@platocrat
Copy link
Contributor

For reference, @danoctavian's repo uses @eth-optimism/plugins v0.0.17, but I can also reproduce this same odd error in both 0.0.17 and 0.0.16:

Screen Shot 2021-03-06 at 11 23 39 AM

I also just tested @eth-optimism/plugins v0.0.18 on a freshly cloned repo. Running yarn test before creating the optimistic test file runs with all EVM tests passing.

Once I add the OVM tests and run yarn test, I reproduce Dan's error shown above.

@smartcontracts
Copy link
Contributor

I have a fix for this locally. Will make a new release ASAP.

@platocrat
Copy link
Contributor

Should be fixed by #17.
Feel free to reopen this issue if you feel the need

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants