Commit Graph

43 Commits

Author SHA1 Message Date
Wanseob Lim
254da3e173 fix: @zkopru/database dependency on test cases; closes #198 2021-04-20 17:14:21 +09:00
Chance Hudson
da5ffa6514 fix: database node connectors in tests 2021-04-05 18:13:33 -05:00
Chance Hudson
a50f4ba739 refactor: initialize schema in create function 2021-04-05 18:13:26 -05:00
Chance Hudson
480bc6d04a feat: basic IndexedDB connector
core zkopru node running in browser
semi-functional browser sync
2021-04-05 18:13:24 -05:00
Chance Hudson
9d7ae1faa0 fix: bump timeouts again 2021-04-01 23:40:07 -05:00
Chance Hudson
09b402e390 fix: block by hash test 2021-03-25 13:56:13 -05:00
Chance Hudson
a883ce0295 fix: increase timeout 2021-03-25 13:50:37 -05:00
Chance Hudson
2ed161f988 refactor: properly type the schema 2021-03-25 00:28:42 -05:00
Chance Hudson
bd97fa15df refactor: use db connector interface 2021-03-25 00:26:14 -05:00
Chance Hudson
177afdb2a5 feat: add l2_syncing method 2021-02-24 01:54:52 +09:00
Chance Hudson
a71190a6f1 fix: access result prop 2021-02-24 01:54:52 +09:00
Chance Hudson
8aab5954c3 feat: canonical block tests 2021-02-24 01:54:52 +09:00
Chance Hudson
a01872d5bd fix: add transaction hash todo test 2021-02-24 01:54:52 +09:00
Chance Hudson
6c3580fde0 fix: linter 2021-02-24 01:54:52 +09:00
Chance Hudson
8d15eaa951 feat: corsdomain and vhosts tests 2021-02-24 01:54:52 +09:00
Chance Hudson
eee672b99a fix: web3 error passthrough, tests 2021-02-24 01:54:52 +09:00
Chance Hudson
df6b68f095 fix: linter 2021-02-24 01:54:52 +09:00
Chance Hudson
1a2e932f4d feat: web3 passthrough test 2021-02-24 01:54:52 +09:00
Chance Hudson
e2dc8c8928 feat: api tests 2021-02-24 01:54:52 +09:00
Chance Hudson
6b8ae22aab fix: add callMethod function 2021-02-24 01:54:52 +09:00
Chance Hudson
8229d45490 feat: basic coordinator api test 2021-02-24 01:54:52 +09:00
Wanseob Lim
86e7450fa0 fix: add maxBid params 2021-01-19 16:24:34 +09:00
Chance Hudson
346450f9e1 refactor: create testMockup for accessing terminate 2021-01-18 20:04:10 -06:00
Wanseob Lim
c892166860 refactor: add block processor; closes #128 2020-10-26 04:27:39 +09:00
Wanseob Lim
880df6d492 refactor(contracts): rename functions and contracts
closes #127

Renamed contracts:
* Layer2Controller => Proxy
* Layer2 => Storage
* ZkOptimisitcRollUp => Zkopru
* Tree => MerkleTree
* RollUpLib => MerkleTreeLib
* SubTreeRollUpLib => SubTreeLib

Renamed functions:
* SMT.rollUp() => SMT.fill()
* RollUpLib.rollUp() => MerkleTree.append()
* SubTreeRollUpLib.rollUpSubTree() => SubTree.appendSubTree()

Deleted unused functions:
* RollUpLib.newTree()
* SMT.rollUp(RollUp memory proof)
* SMT.merge()
2020-10-26 04:27:39 +09:00
Wanseob Lim
7595cf7c69 refactor: upgrade circom & snarkjs
closes #42, #50, #86
2020-10-05 11:24:27 +09:00
Wanseob Lim
ac66a3e6f6 fix: enhance docker pull & build process 2020-09-08 00:06:01 +09:00
Wanseob Lim
c5f15ecc45 refactor: improve build & test process
1. Describe build context & dockerfiles in `dockerfiles/docker-compose.yml`.
2. Using utils.buildAndGetContainer() function, specify the service name
and build the image before run test.
3. To skip the initial build process, developer can run `yarn pull:images`
on the root directory.
2020-08-17 13:31:47 +09:00
Wanseob Lim
049a0b03c4 feat: update tree depth from 31 to 48
closes #35
2020-08-17 13:28:15 +09:00
Wanseob Lim
0ceb48586a feat: nullifier & utxo scheme update
Zkopru uses ZCash's spending key and viewing key scheme

closes #34
2020-08-16 16:57:10 +09:00
Wanseob Lim
1d58967a6a refactor(coordinator): make it use prisma instead of nanosql 2020-06-06 22:52:25 +09:00
Wanseob Lim
4e944671cc fix: make testable also in common labtops 2020-05-26 20:06:39 +09:00
Wanseob Lim
88afb3bd0d feat(coordinator): add cli app
closes #9;
2020-05-23 03:13:08 +09:00
Wanseob Lim
0ef7ab991f chore: prep release 2020-05-20 01:36:18 +09:00
Wanseob Lim
8576f24f1c feat(coordinator): add cli option 2020-05-19 23:24:27 +09:00
Wanseob Lim
bdc7d55d1b feat(zk-wizard): add cli feature 2020-05-17 03:03:47 +09:00
Wanseob Lim
9ebc5e136a chore: stop and remove containers after tests 2020-05-12 03:34:50 +09:00
Wanseob Lim
e90d8fef1d refactor(coordinator): use utils library 2020-05-10 16:34:26 +09:00
Wanseob Lim
d235a7e60f refactor(coordinator): use logger 2020-05-06 17:46:35 +09:00
Wanseob Lim
6df997048f refactor: fix hardcoded address to dynamic version 2020-04-27 17:39:18 +09:00
Wanseob Lim
0a00798506 chore: setup test env using docker 2020-04-27 15:26:45 +09:00
Wanseob Lim
81e713506c chore: move testcases to coordinator package 2020-04-26 15:00:20 +09:00
Wanseob Lim
147ab04101 fix: lerna testable 2020-04-08 02:42:47 +09:00