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

Remove lock files and fix breaking build #218

Merged
merged 3 commits into from
Dec 4, 2024
Merged

Conversation

meaghanfitzgerald
Copy link
Contributor

@meaghanfitzgerald meaghanfitzgerald commented Dec 4, 2024

CI/CD related. Repo shouldn't have multiple lock files, and there's no reason to ever merge these to main.

Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
avalanche-academy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 8:26pm

@meaghanfitzgerald
Copy link
Contributor Author

Vercel is failing deployment due to a type issue:

./components/signatureSchemes.tsx:36:32
Type error: Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBufferLike'.
  Type 'Uint8Array<ArrayBuffer>' is missing the following properties from type 'ArrayBuffer': maxByteLength, resizable, resize, detached, and 2 more.

  34 |         crypto.getRandomValues(privKey);
  35 |         const pubKey = bufferToHex(bls.getPublicKey(privKey));
> 36 |         setPrivKey(bufferToHex(privKey));
     |                                ^
  37 |         setPubKey(pubKey);
  38 |         return { privKey, pubKey };
  39 |     };
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

fixed by changing line 36

    setPrivKey(bufferToHex(privKey.buffer));

Other changes in signatureSchemes.tsx were autoformatted by Prettier

@meaghanfitzgerald meaghanfitzgerald changed the title Remove lock files Remove lock files and fix breaking build Dec 4, 2024
@martineckardt martineckardt merged commit 097df5f into main Dec 4, 2024
4 checks passed
@meaghanfitzgerald meaghanfitzgerald deleted the remove-lock-files branch December 4, 2024 20:43
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 this pull request may close these issues.

3 participants