Skip to content

Commit

Permalink
Merge pull request #141 from zama-ai/refactor-tfhe-executor
Browse files Browse the repository at this point in the history
refactor: TFHEExecutor
  • Loading branch information
PacificYield authored Nov 26, 2024
2 parents 89d945a + d9fbba9 commit a630534
Show file tree
Hide file tree
Showing 208 changed files with 275 additions and 91,082 deletions.
1 change: 1 addition & 0 deletions contracts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
# Hardhat files
/cache
/artifacts
/types

# TypeChain files
/typechain
Expand Down
2 changes: 0 additions & 2 deletions contracts/codegen/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import operatorsPrices from './operatorsPrices.json';
import { generateFHEPayment } from './payments';
import * as t from './templates';
import * as testgen from './testgen';
import { addTFHEExecutorEvents } from './tfheexecutor';

function generateAllFiles() {
const numSplits = 12;
Expand All @@ -18,7 +17,6 @@ function generateAllFiles() {
writeFileSync('contracts/FHEPayment.sol', generateFHEPayment(operatorsPrices));
writeFileSync('contracts/InputVerifier.native.sol', generateInputVerifiers(false));
writeFileSync('contracts/InputVerifier.coprocessor.sol', generateInputVerifiers(true));
writeFileSync('contracts/TFHEExecutor.events.sol', addTFHEExecutorEvents('contracts/TFHEExecutor.sol'));
writeFileSync('payment/Payment.sol', t.paymentSol());
mkdirSync('contracts/tests', { recursive: true });
ovShards.forEach((os) => {
Expand Down
179 changes: 0 additions & 179 deletions contracts/codegen/tfheexecutor.ts

This file was deleted.

Loading

0 comments on commit a630534

Please sign in to comment.