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

Updated hardhat template to be compatible and tests running using fhevmjs 0.3.0 and fhevm 0.3.0 #8

Closed
wants to merge 8 commits into from

Conversation

jatZama
Copy link
Member

@jatZama jatZama commented Jan 17, 2024

No description provided.

hardhat.config.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why deleting this file? It's here as an example

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was causing a conflict but I think it was because of the way utility functions were imported from fhevm (importing ethers in instance would cause hardhat to break at initialization)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest to restore it as an example? Easy to modify if developers want to use it for their own contract.

tasks/mint.ts Outdated Show resolved Hide resolved
test/confidentialToken/confidentialToken.ts Outdated Show resolved Hide resolved
test/utils.ts Outdated Show resolved Hide resolved
test/types.ts Outdated Show resolved Hide resolved
test/signers.ts Outdated Show resolved Hide resolved
test/instance.ts Outdated Show resolved Hide resolved
test/confidentialToken/confidentialToken.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@immortal-tofu immortal-tofu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good! Just be sure it's working with [email protected]

@jatZama jatZama closed this Jan 18, 2024
@jatZama jatZama deleted the updated-to-fhevm-0.3.0 branch January 18, 2024 13:28
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