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

DataProofVerifier isn't moved into relay testing folder during build #51

Closed
NOOMA-42 opened this issue Aug 23, 2023 · 4 comments
Closed
Labels
bug Something isn't working test test improvements

Comments

@NOOMA-42
Copy link
Collaborator

NOOMA-42 commented Aug 23, 2023

Describe the bug
Artifact for contract "DataProofVerifier" not found. This might impact CICD in branch test/login-relay, test/post-relay

To Reproduce
clone fresh repo and build

Expected behavior

Screenshots

 1) LOGIN /login
       "before each" hook for "/api/user should catch redirection":
     HardhatError: HH700: Artifact for contract "DataProofVerifier" not found. 
      at Artifacts._handleWrongArtifactForContractName (/Users/paulyu/opensource_project/social-tw-website/node_modules/hardhat/src/internal/artifacts.ts:702:11)
      at Artifacts._getArtifactPathFromFiles (/Users/paulyu/opensource_project/social-tw-website/node_modules/hardhat/src/internal/artifacts.ts:827:19)
      at Artifacts._getArtifactPath (/Users/paulyu/opensource_project/social-tw-website/node_modules/hardhat/src/internal/artifacts.ts:507:21)
      at async Artifacts.readArtifact (/Users/paulyu/opensource_project/social-tw-website/node_modules/hardhat/src/internal/artifacts.ts:71:26)
      at async getContractFactory (/Users/paulyu/opensource_project/social-tw-website/node_modules/@nomiclabs/hardhat-ethers/src/internal/helpers.ts:99:22)
      at async deployContracts (/Users/paulyu/opensource_project/social-tw-website/packages/relay/test/environment.ts:32:23)
      at async Context.<anonymous> (/Users/paulyu/opensource_project/social-tw-website/packages/relay/test/login.test.ts:19:28)

Additional context
related to #25 #47

@github-actions github-actions bot added bug Something isn't working test test improvements labels Aug 23, 2023
@june-in-exile
Copy link
Collaborator

Which branch is this?

@NOOMA-42
Copy link
Collaborator Author

branch test/login-relay, test/post-relay

branch test/login-relay, test/post-relay, have edited the post

@NOOMA-42 NOOMA-42 self-assigned this Aug 24, 2023
@ryanycw
Copy link
Member

ryanycw commented Aug 25, 2023

Solving this in #25

@NOOMA-42 NOOMA-42 removed their assignment Aug 25, 2023
@ryanycw
Copy link
Member

ryanycw commented Aug 25, 2023

This is solved in #25

@ryanycw ryanycw closed this as completed Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test test improvements
Projects
None yet
Development

No branches or pull requests

3 participants