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

Cannot run cli/test:e2e-subsidy locally #1102

Closed
3 tasks
kittybest opened this issue Jan 25, 2024 · 0 comments · Fixed by #1277
Closed
3 tasks

Cannot run cli/test:e2e-subsidy locally #1102

kittybest opened this issue Jan 25, 2024 · 0 comments · Fixed by #1277

Comments

@kittybest
Copy link
Collaborator

kittybest commented Jan 25, 2024

KEEP ON TRACKING NOW

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am not running a deprecated version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

I set useWasm() to true, ran pnpm test in the cli/ folder, expect to run all the tests successfully.

Current Behavior

Currently, it displayed this:
image

Tried to set longer time limit, but still got the same failing message.

Failure Information

Not sure if it's a bug, maybe it only happens on my computer (macOS Big Sur, Intel Iris Plus Graphics 1536 MB), since I found others run the tests successfully.
The failure message is displayed in the above image.

[[Updated]]
It stuck at the setVerifyingKeys step in the before all hook, which should be the same step as normal e2e test.
The only difference is we add subsidyTestZkeyPath inside, which is defined in the constants, and I have that file in my zkey/ folder.

[[[Updated]]]
Stuck here:
in cli/ts/commands/setVerifyingKeys.ts

const subsidyVkOnChain = await vkRegistryContract.getSubsidyVk(
        stateTreeDepth,
        intStateTreeDepth,
        voteOptionTreeDepth,
      );

Additionally, the remaining tests passed.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. cd cli/
  2. pnpm test or pnpm test:e2e-subsidy
  3. you get it...

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • MACI version: latest version on dev branch
  • Operating System: macOS Big Sur

Failure Logs

as provided above.

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

Successfully merging a pull request may close this issue.

1 participant