This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract EccMulTest { | |
struct Point { | |
uint x; | |
uint y; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey, I'm adria0-5526331 and I have contributed to the RLN Trusted Setup Ceremony MPC Phase2 Trusted Setup ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (rln-withdraw) | |
Contributor # 52 | |
Contribution Hash: 0c5a8bef 0428b3ba 1becf247 fee64728 | |
a1dbc988 c2b8efd6 05c2214f 0104c0ac | |
04cc58cd 8d17a440 c156669a f9fa9a99 | |
a5967551 90ffce73 4809b2f9 3c7c7c96 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hey, I'm adria0-5526331 and I have contributed to the Maci v1 Trusted Setup Ceremony MPC Phase2 Trusted Setup ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (processmessages_6-8-2-3) | |
Contributor # 5 | |
Contribution Hash: 5df98a64 a772a4e8 5632cf1f 117187c6 | |
bb22f5fa 6b648f0f 9e6d01a2 d2497682 | |
760f8c9e 8b3e210b 2694e1ee 7dc9c10a | |
463e89d4 bfe32aad 1058c082 20a933eb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 def test_sar_result(): | |
59 test_vectors = [ | |
60 (0x0000000000000000000000000000000000000000000000000000000000000001,0x00,0x0000000000000000000000000000000000000000000000000000000000000001), | |
61 (0x0000000000000000000000000000000000000000000000000000000000000001,0x01,0x0000000000000000000000000000000000000000000000000000000000000000), | |
62 (0x8000000000000000000000000000000000000000000000000000000000000000,0x01,0xc000000000000000000000000000000000000000000000000000000000000000), | |
63 (0x8000000000000000000000000000000000000000000000000000000000000000,0xff,0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff), | |
64 (0x8000000000000000000000000000000000000000000000000000000000000000,0x0100,0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff), | |
65 (0x8000000000000000000000000000000000000000000000000000000000000000,0x0101,0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff), | |
66 (0xfffffffffffffffffffffffffffff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
branch commit d0bf9ed234e2795dcc3c972670344e08b2babde4 | |
Please, see https://raw.githubusercontent.com/adria0/zkevm-circuits/evm-testvectors/evm-testvectors/result.cache for the detailed results. | |
00PANI => Paniked tests | |
01FAIL => Failed tests (there's a mismatch in the storage, mainly) | |
03SKIP => Skipped tests due it takes a lot of gas, or has unimplemented features. Please see TOP25 at the end | |
04succ => Tests that gone :+1: | |
+------------------------------------------------------------------------+----------+----------+------------+-----------+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony. | |
The following are my contribution signatures: | |
Circuit: semaphore16 | |
Contributor # 12 | |
Hash: 74ffde48 c32853d0 21c6d96b 7dc75ced | |
da17da6d 4becb89d 1d76499c d2ff989a | |
1fb31e09 fc15c0d2 c673e221 150dd092 | |
150076a9 cb31dc7b abc60922 7b3d33ff | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony. | |
The following are my contribution signatures: | |
Circuit: qvt32 | |
Contributor # 96 | |
Hash: 3e6ca8b5 d54aa80b 48e5980f d2163547 | |
247792c8 07894029 1e96ce48 3b833ec2 | |
b8ac9496 2532eefa 9df338d7 9fb9f9c1 | |
8b1ee442 85edc169 944cbc56 ed65b9c7 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
clang++ -O3 bench.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import List, NamedTuple, Tuple, Union | |
from math import ceil, log2 | |
from random import randint | |
from functools import reduce | |
import operator | |
from py_ecc import bn128 as curve | |
""" | |
Implementation of PolyCommit_{DL} from: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::collections::HashSet; | |
use std::rc::Rc; | |
use std::cell::RefCell; | |
struct AccessList(Rc<AccessListInt>); | |
struct AccessListInt { | |
v : RefCell<Option<HashSet<usize>>>, | |
prev: Option<Rc<AccessListInt>> | |
} |
NewerOlder