Skip to content

Commit

Permalink
Refactor contract according to V1 consolidation spec (summa-dev#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxkzmn committed Nov 3, 2023
1 parent 400fc49 commit b8f82be
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 1,576 deletions.
7 changes: 0 additions & 7 deletions contracts/scripts/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ type Deployments = {
};

async function main() {
const solvencyVerifier = await ethers.deployContract(
"src/SolvencyVerifier.sol:Verifier"
);
await solvencyVerifier.deployed();

const inclusionVerifier = await ethers.deployContract(
"src/InclusionVerifier.sol:Verifier"
);
await inclusionVerifier.deployed();

const summa = await ethers.deployContract("Summa", [
solvencyVerifier.address,
inclusionVerifier.address,
]);

Expand Down Expand Up @@ -61,7 +55,6 @@ async function main() {

//Copy the ABIs from `artifacts/src/*` to `backend/src/contracts/*`
copyAbi(fs, "Summa", "Summa");
copyAbi(fs, "SolvencyVerifier", "Verifier");
copyAbi(fs, "InclusionVerifier", "Verifier");
}

Expand Down
11 changes: 0 additions & 11 deletions contracts/src/SolvencyVerifier.sol

This file was deleted.

Loading

0 comments on commit b8f82be

Please sign in to comment.