Commit Graph

113 Commits

Author SHA1 Message Date
Chance Hudson
989d646d45 fix: pin web3 to 1.2.11 to fix ethereumjs/ethereumjs-monorepo#1340 2021-07-08 13:36:40 -05:00
Chance Hudson
6421b9ef1d chore: dep fixes, lint 2021-07-08 13:30:08 -05:00
Chance Hudson
653613bb01 fix: use onComplete to clear tree cache on transaction failure or success 2021-05-24 10:44:20 -05:00
Chance Hudson
b37ec9c5f5 fix: auto clear tree cache after transaction commit 2021-05-24 10:21:12 -05:00
Chance Hudson
fc802106c1 fix: cache tree changes in memory during transaction 2021-05-24 09:13:15 -05:00
Chance Hudson
5d4f9abb32 fix: tree tests 2021-05-23 20:46:44 -05:00
Chance Hudson
f61007a386 refactor: use TransactionDB during block processing 2021-05-23 15:23:59 -05:00
Chance Hudson
ff19a98f2f chore: lint 2021-05-10 18:49:21 -05:00
Chance Hudson
1c50217a64 refactor: lock handling 2021-05-10 18:48:56 -05:00
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
6619fa6c3d fix: linter 2021-04-05 18:13:31 -05:00
Chance Hudson
7e3223d295 refactor: separate exports for node and web db connectors 2021-04-05 18:13:30 -05:00
Chance Hudson
a50f4ba739 refactor: initialize schema in create function 2021-04-05 18:13:26 -05:00
Chance Hudson
94141457e8 chore: bump bn.js version 2021-04-05 18:13:25 -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
Orian Zinger
6f5cb0cbf6 fix: typo error (exising instead of existing) 2021-03-25 23:41:57 +02:00
Chance Hudson
be8b176c03 feat: database transactions
fix upserts, allow constraintKey specification
2021-03-25 00:28:52 -05:00
Chance Hudson
986a9148b2 refactor: use single SQL command for upsert, return integer instead of objects 2021-03-25 00:28:49 -05:00
Chance Hudson
2ed161f988 refactor: properly type the schema 2021-03-25 00:28:42 -05:00
Chance Hudson
927ffdd3a2 refactor: enable postgres in wallet, remove commented code 2021-03-25 00:28:36 -05:00
Chance Hudson
0a3b3c1e63 refactor: remove prisma 2021-03-25 00:28:31 -05:00
Chance Hudson
4d972930ae fix: linter 2021-03-25 00:27:59 -05:00
Chance Hudson
db5656c880 fix: small db fixes 2021-03-25 00:26:18 -05:00
Chance Hudson
0af9e39c38 fix: ts compile errors 2021-03-25 00:26:15 -05:00
Chance Hudson
bd97fa15df refactor: use db connector interface 2021-03-25 00:26:14 -05:00
Wanseob Lim
c48c209995 test(contracts): add gas reporter for block propose/finalize and note deposit/withdrawal 2021-03-24 03:11:29 +09:00
Wanseob Lim
288b0655e2 fix: update poseidon hash bug 2021-03-22 16:54:21 +09:00
Wanseob Lim
1454882ba2 refactor: finitefield and account's key gen model 2021-03-17 21:32:08 +09:00
Chance Hudson
33816b6802 chore: bump soltypes version 2021-02-24 01:54:52 +09:00
Chance Hudson
65ac9d3e3c fix: bump soltypes version 2021-02-24 01:54:52 +09:00
Chance Hudson
346450f9e1 refactor: create testMockup for accessing terminate 2021-01-18 20:04:10 -06:00
Wanseob Lim
d1374a53c3 fix: withdrawal tree bug 2020-11-18 19:28:07 +09:00
Wanseob Lim
6665648add fix: cli bugs 2020-11-18 19:27:42 +09:00
Wanseob Lim
b5431ad57c chore: fix dataset generation script 2020-11-18 19:24:29 +09:00
Wanseob Lim
7fea3732f2 feat: make fullnode vaildates challenge conditions both onchain and offchain 2020-11-18 19:16:17 +09:00
Wanseob Lim
140448eee2 chore: add validator classes 2020-10-26 04:27:39 +09:00
Wanseob Lim
de4304f390 fix: SMT bug & slash algorithm
* SMT.sol calculateRoot was not returning its result root value.
* Store slashed header using map and remove `slashed` var in Proposal
struct.
* Add validateParentHeader to examine its precedent block is slashed or
not.
* Refactoring some auto generated files and class names.
2020-10-26 04:27:39 +09:00
Wanseob Lim
fd7bab75b7 chore: implement solidity written tree libraries in typescript 2020-10-26 04:27:39 +09:00
Wanseob Lim
7a4989581e refactor: primsa transaction & scheduled jobs
closes #22
2020-10-06 17:38:43 +09:00
Wanseob Lim
7595cf7c69 refactor: upgrade circom & snarkjs
closes #42, #50, #86
2020-10-05 11:24:27 +09:00
Wanseob Lim
9508d32f6c fix: use EIP 55 checksum address 2020-09-07 04:51:24 +09:00
Wanseob Lim
db898d2a82 refactor: multi tree to single tree model 2020-08-17 13:31:47 +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
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
c386f7510a v1.0.0-beta.2 2020-07-19 20:30:23 +09:00
Wanseob Lim
f21b579e32 v1.0.0-beta.0 2020-07-19 05:35:10 +09:00
Wanseob Lim
15a9823483 v1.0.0-alpha.11 2020-07-19 05:08:20 +09:00
Wanseob Lim
40a7a5c823 v1.0.0-alpha.10 2020-07-19 03:41:09 +09:00
Wanseob Lim
4ee972fa55 v1.0.0-alpha.9 2020-07-19 02:26:26 +09:00