Consensys / linea-contracts

Linea smart-contracts
http://linea.build/
76 stars 61 forks source link

feat: addition of verifiers full + full-large #1

Closed ThomasPiellard closed 1 year ago

ThomasPiellard commented 1 year ago

contracts/verifiers/ now contains two folders full/ and full-large/ containing respectively PlonkVerifierFull.sol and PlonkVerifierFullLarge.sol (which have been moved from contracts/verifiers) + a test/ folder containing a hardcoded proof and public inputs, for testing the contracts.

The contract PlonkVerifier.sol looks like a verifier generated from a toy circuit, but I didn't remove it.

cc @AlexandreBelling @thedarkjester this is how you wanted the contracts to be tested right ? You can ignore this PR if you were planning on sending directly the proof + public inputs in another way for testing.