1291 Commits

Author SHA1 Message Date
ctrlc03
cc9a9916ae fix(verification): fix wrong path in function call
added local path as parameter to the extract verifier function
2023-02-28 17:47:57 +00:00
ctrlc03
7ae6da3720 feat(verification): implemented actions functions on phase2cli
implemented extract functions on the cli to extract the solidity verifier and the verification key
for a zKey.
2023-02-28 17:03:45 +00:00
ctrlc03
92420a3276 fix(verification): updated dev to fix conflicts 2023-02-28 16:44:17 +00:00
ctrlc03
aa3d43728d Merge branch 'quadratic-funding:dev' into dev 2023-02-28 16:43:03 +00:00
ctrlc03
1aed70e9bc feat(verification): added actions helper to extract artifacts from a zKey
Added helper functions to extract the solidity verifier and the verification key from a zkey
2023-02-28 16:37:21 +00:00
ctrlc03
e749167495 fix(contribute): fix CI tests
fix CI tests and removed redundant console.log
2023-02-28 15:06:28 +00:00
ctrlc03
1b64b43ae5 test(contribute): large refactoring of tests
refactored test cases for contribution and previously completed scenarios for setup and utilities.
Also added test data required to run certain test cases.
2023-02-28 14:53:52 +00:00
ctrlc03
a2df00ce8e Merge branch 'dev' of github.com:quadratic-funding/mpc-phase2-suite into tests/contribute 2023-02-24 18:54:34 +00:00
Giacomo
8ab19963d1 Merge pull request #331 from 0xjei/cmd/opt-finalize
Refactoring `finalize` command
2023-02-24 18:05:36 +01:00
Jeeiii
c811c43fa0 fix: error when building in CI; review suggestions 2023-02-24 17:25:49 +01:00
Jeeiii
10c2d9f850 fix: sync tests 2023-02-24 17:11:06 +01:00
Jeeiii
fba90369c9 refactor: optimization of finalize command and related cloud functions 2023-02-24 17:00:26 +01:00
ctrlc03
cefb4eb943 Merge pull request #330 from ctrlc03/security/authentication
test(auth security): added test cases for the authentication security review
2023-02-24 15:51:31 +00:00
ctrlc03
ab7d754ac6 test(auth security): refactored and added more test cases
added extra test cases related to authentication and improved documentation.
2023-02-24 15:38:46 +00:00
ctrlc03
d328435854 test(contribute): refactoring tests
refactoring and fixing errors in tests
2023-02-24 14:10:30 +00:00
ctrlc03
d586c0029f test(contribute test): adapted tests after backend changes
adapted contribute tests after backend changes and cleaned up.
2023-02-24 11:05:18 +00:00
ctrlc03
e38fa4d042 Merge branch 'quadratic-funding:dev' into dev 2023-02-24 10:48:52 +00:00
ctrlc03
a00f377268 test(contribute tests): test refactoring
refactored tests and added more descriptive error messages in rejected test cases
2023-02-24 10:46:47 +00:00
Giacomo
0ed3240f7b Merge pull request #328 from 0xjei/dev
`contribute` command refactoring
2023-02-24 11:42:08 +01:00
Jeeiii
7757ca83d5 chore: add review nits and comments; lint and fix 2023-02-24 11:34:05 +01:00
ctrlc03
99277caaca chore(draft report): add draft report (20% pentest done)
Adding a preliminary report which documents some of the findings. Note that this covers only 20% of
the pentest and will be updated in the coming weeks. This is added for visibility of the
development/security effort.
2023-02-24 09:21:58 +00:00
ctrlc03
de93d9af59 fix(auth security): prevent certain tests to run on CI 2023-02-24 09:08:58 +00:00
ctrlc03
e4abece0e5 style(auth security): fix typo 2023-02-23 19:42:57 +00:00
ctrlc03
3c257b41bc test(auth security): properly document tests
properly document test cases and add extra test cases
2023-02-23 19:24:58 +00:00
Jeeiii
52e35cac60 refactor: optimized verify contribution and related cfs/helpers 2023-02-23 20:00:08 +01:00
ctrlc03
1139041463 fix(auth security): fix CI test
prevent the failing test from running in the emulator as there is no account lockout in the emulator
2023-02-23 17:21:02 +00:00
ctrlc03
e2aa8a4664 fix(auth security): fix test error
fix CI test error
2023-02-23 17:12:31 +00:00
ctrlc03
888453c989 test(auth security): fixed one test case and added one more
Added a new test case and fixed one test case that was erroring out
2023-02-23 16:52:14 +00:00
ctrlc03
a0ea42bb6b test(auth security): added test cases for the authentication security review
Added a number of test cases part of the pentest. These test aim to ensure that the authentication
system (Firebase and custom cloud functions) are secure against common attacks such as email
enumeration and bruteforce attacks.
2023-02-23 16:24:10 +00:00
Jeeiii
f3cacfd65c refactor: optimized coordination mechanism for participants 2023-02-23 12:55:03 +01:00
Jeeiii
90c87295b7 fix: missing pre-condition when resuming during computing step; wrong pre-condition on related cf 2023-02-23 12:53:11 +01:00
ctrlc03
15788ea538 fix(storage tests): fixed storage tests after backend refactoring
fixed certain test cases that were either failing or hanging
2023-02-23 10:43:49 +01:00
ctrlc03
02fa6e3238 fix(storage tests): fixed storage tests after backend refactoring
fixed certain test cases that were either failing or hanging
2023-02-23 09:28:45 +00:00
Jeeiii
89db49348d refactor: remove duplicated code and stale methods; prepare for waiting queue refactoring 2023-02-22 17:02:46 +01:00
Jeeiii
7ba9ceea6d chore: resolve conflicts 2023-02-22 11:29:02 +01:00
Jeeiii
eb168f4a13 refactor: optimized contribution core fn; refactoring storage and participant helpers, cfs, types 2023-02-22 11:08:01 +01:00
Jeeiii
663002c601 refactor: make pre-conditions for listener scenarios, optimize attestation generation, small bug fix 2023-02-21 10:09:23 +01:00
ctrlc03
20137c646f test(finalize): prepared e2e test suite
prepared e2e test suite with mock users, ceremonies and stubs
2023-02-20 11:27:08 +00:00
ctrlc03
e90cbcd9fd test(finalize): fix typo
fixed typo
2023-02-20 11:01:52 +00:00
ctrlc03
06b92f8244 test(finalize): added unit tests for ceremony finalization
Implemented first test cases for the finalize actions
2023-02-20 10:16:07 +00:00
Jeeiii
f3154554b4 refactor: listeners optimization; remove code duplication 2023-02-17 18:16:04 +01:00
Jeeiii
7def977fb5 fix: next participant on the waiting queue did not automatically start the contribution 2023-02-17 18:14:40 +01:00
Jeeiii
bacc6960e9 chore: merge conflicts; spinner for hash computation on setup command; lint and fix 2023-02-17 14:37:46 +01:00
Jeeiii
c4292ee001 refactor: cfs naming and separation; handle space requirement for contribution; init main listener 2023-02-17 13:03:17 +01:00
ctrlc03
f446023e92 test(contribute): refactor and more tests
added more tests and small refactor
2023-02-17 10:54:36 +00:00
ctrlc03
c831bab1cd test(contribute): merge dev and add more tests
merge updated dev branch, resolve conflicts and add more tests related to contributing
2023-02-17 10:05:57 +00:00
Daehyun Paik
8138e72b11 fix: implement support for generating file hash larger than 2GB 2023-02-16 18:32:29 +01:00
ctrlc03
ef71f7e3ab test(contribute): adding more contribute tests 2023-02-16 14:43:55 +00:00
ctrlc03
89adcc0332 Merge pull request #297 from ctrlc03/tests/setup
Tests/setup E2E and Unit tests for Setup
2023-02-16 14:40:21 +00:00
ctrlc03
9cece1529f test(setup): pr review fix
resolved PR review comments
2023-02-16 10:51:59 +00:00