-
Notifications
You must be signed in to change notification settings - Fork 209
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
Create CLI Foundry template #185
Comments
The challenge here is to deploy the Semaphore contract properly using Foundry in the test environment. The equivalent in Hardhat is: https://github.com/semaphore-protocol/semaphore/blob/main/packages/hardhat/src/tasks/deploy-semaphore.ts More context: The poseidon function in the PoseidonT3 library is empty by default, to get its code the We didn't change the implementation of the poseidon function because that code is already audited. |
Re-opening this issue as Semaphore V4 will use an actual contract for Poseidon and there shouldn't be any problems with Foundry. |
Hi @cedoor, @vplasencia! I'm interested in this issue. Please assign it to me. |
Hey @csiejimmyliu, assigned :) |
Hey @cedoor ! |
Hey @csiejimmyliu, sure! They need to comment here tho. |
Hi @cedoor ! Just created a PR of this issue! |
Description
There is a CLI Hardhat template called
cli-template-contracts-hardhat
with a sample contract and tests for that contract.The idea is to recreate that same template using Foundry instead of Hardhat. The template will be called
cli-template-contracts-foundry
.Previous work
https://github.com/vplasencia/semaphore-foundry
https://github.com/vplasencia/semaphore-foundry-hardhat
https://github.com/vplasencia/semaphore-hardhat-foundry
The text was updated successfully, but these errors were encountered: