Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Setup Order in README #234

Open
Olaleye-Blessing opened this issue Feb 12, 2025 · 0 comments
Open

Incorrect Setup Order in README #234

Olaleye-Blessing opened this issue Feb 12, 2025 · 0 comments

Comments

@Olaleye-Blessing
Copy link

The current README indicates running pnpm run chain:setup before contract deployment, but this order causes an error as the setup script requires the contracts to be deployed first.

I got this error:

Error: Cannot find module '../contracts/out/DISTRIBUTOR.json'

This is because the /out/ is yet to be created.

Current Flow in README

  1. Install dependencies
  2. Start local node
  3. Setup wallet (pnpm run chain:setup)
  4. Deploy contracts

Correct Flow

  1. Install dependencies
  2. Start local node
  3. Deploy contracts
  4. Setup wallet (pnpm run chain:setup)

Note

I got some reverts error even though some votes were casted after running pnpm run chain:setup.

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

No branches or pull requests

1 participant