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

Use fheLib precompile for all internal functions #144

Merged
merged 2 commits into from
Sep 21, 2023
Merged

Conversation

david-zk
Copy link
Contributor

Move all of our library functions to use single fheLib precompiled smart contract through interface underneath

@immortal-tofu @tremblaythibaultl @dartdart26

@dartdart26 about function purity, I think one strategy could be to have two interfaces, one with pure functions for overloads and another interface for backwards compatibility marked as pure. That way, only operators assume purity and we could introduce operator overloading as experimental feature.

Copy link
Contributor

@tremblaythibaultl tremblaythibaultl left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@david-zk david-zk merged commit 71c5a9f into main Sep 21, 2023
2 checks passed
@david-zk david-zk deleted the use-fhe-lib branch September 21, 2023 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants