Commit Graph

143 Commits

Author SHA1 Message Date
wanseob
7566353095 chore(release):2.0.0-beta.7 2021-12-02 07:56:22 +00:00
wanseob
e32c72323f chore(release):2.0.0-beta.6 2021-11-26 09:04:41 +00:00
wanseob
839069d2de chore(release):2.0.0-beta.5 2021-11-23 14:18:13 +00:00
Wanseob Lim
1ee3fda1a1 v2.0.0-beta.2 2021-11-02 12:40:00 +09:00
Wanseob Lim
090d17e5ab v2.0.0-beta.1 2021-11-02 12:12:10 +09:00
Wanseob Lim
fdf19f93e5 v2.0.0-beta.0 2021-11-02 10:31:49 +09:00
JinHwan
9fceed49db Zk Tx Generator (#225)
* feat: create auto started coordinator and wallet for tx generator

* chore: removed comments and make up code

* feat: create docker-compose for local testnet with generator

* refactor: create generator class for eth transfer on layer2

* fix: removed fault instance inside 'TransferGenerater'

* feat: create organizer for collection data for debug

* feat: create TestBlockProposer class for log propose layer 2 block

* feat: can create note with specified salt for testing

* refactor: huge refactor - organizer & generator

Features

- Organizer
  - main queue for controlling throughput of transactions to the coordinators
  - can adjust target TPS by request organizer API
  - can get stats about coordinator and wallets
- Generator
  - sending zktx from sub-queue
  - One wallet has its own full-node and use only one account
  - 1 deposit tx then keep sending transactions ( 1 inflow - 2 ouflow ) on layer 2

* fix: lints in generator

* fix: added missing expose port, changd wallet controller type

* fix: key path for testing on azure and other

* fix: remove timeout in fetch

* fix: update genesis and docker-compose image name

* fix: queue status be complete when job done in worker

* fix: make it clear on fixed subTrees for initializing

* fix: updated for reproduce issue #255

* fix: lint function signatures dictionary in 'funcSigs.json'

* fix: test for checking successfully rebased

* fix: web3 lib version for generator, create docker-compose file

* refactor: create types for organizer API

* feat: replaced overwritten middleware with newly created postProcessor in ProposerBase

* fix: added limit for some  methods, getting data on organizer API

* feat: add development mode for organizer

* refactor: layer1 watcher has target contractss for filter

* feat: added transaction data end-points to organizer

* feat: monitor auction activity

* fix: move docker-compose file under compose

* fix: issue #275 - checking nft in outflow

* fix: targetContracts of layer1 watcher in organizer, README updated

* chore: update lock file (#4)

* fix: added dev dependencies and other for integration test

* fix: copy type defs to dist

* fix: removed un-used docker files and others for stress-test repo

* fix: removed files for geth node, these moved to stress-test repo

* fix: replace copy command to add src path more specific

* fix: replaced copy command in adding src path in source files

* fix: eslint for lint test

* fix: rename type files for no using additional path

* fix: revert injected useless path for stress-test repo

* fix: removed about no-useless-path

* fix: revert rename extension file

* fix: revert unnecessary packages in yarn.lock

Co-authored-by: Wanseob Lim <email@wanseob.com>
Co-authored-by: Chance Hudson <jchancehud@gmail.com>
2021-09-15 11:22:35 +09:00
Wanseob Lim
586ce8939f refactor: logging 2021-09-05 15:35:27 +09:00
Wanseob Lim
1e7a481efa chore: add traced testing script 2021-09-05 15:35:27 +09:00
Chance Hudson
3d211dc67e refactor: clean up variables 2021-08-24 18:54:35 +09:00
Chance Hudson
d46517c38c fix: store 0 start position for rollup tree 2021-08-24 18:54:35 +09:00
Chance Hudson
9f63ed6116 fix: don't increment rollup start 2021-08-24 18:54:35 +09:00
Chance Hudson
21a6dc015c refactor: move tree cache to tree package 2021-08-11 02:31:11 -05:00
Chance Hudson
8f645978ba fix: tree tests 2021-08-11 01:48:25 -05:00
Chance Hudson
a053058223 fix: individual tree cache instances 2021-08-11 01:20:29 -05:00
Chance Hudson
1d06e0f52b refactor: remove hexify use, add trimHexToLength 2021-08-06 23:41:04 -05:00
Chance Hudson
7a8d781cd1 chore: withdrawal merkle proof tests 2021-08-06 02:03:44 -05:00
Chance Hudson
020798860d fix: use withdrawal hash for merkle proof 2021-08-05 17:36:43 -05:00
Chance Hudson
2d5e1e0a26 fix: nullifier tree rollback support, use locks 2021-08-05 14:24:30 -05:00
Chance Hudson
9ef138371d fix: rollback rollup tree data on db transaction error 2021-08-05 14:19:57 -05:00
Chance Hudson
de7316d6f4 Merge branch 'cache-fixes' into tx-amount-fix 2021-08-05 13:35:31 -05:00
Chance Hudson
a63185c69a fix: use mutex lock for getStartingLeafProof 2021-08-05 12:53:58 -05:00
Chance Hudson
ae56882a99 feat: top level onComplete, well tested db tx error cases 2021-08-04 09:38:49 -05:00
Chance Hudson
42e6c88f8b refactor: utxo/withdrawal leaf arrays 2021-08-03 17:12:36 -05:00
Chance Hudson
a4de40afef chore: dry append test 2021-08-03 16:33:57 -05:00
Chance Hudson
86a0d20c56 fix: perform dry append inside mutex lock 2021-08-03 15:40:59 -05:00
Chance Hudson
12e3227fa6 chore: lint 2021-08-03 00:17:12 -05:00
Chance Hudson
05d6239949 fix: fill map to be safe 2021-08-03 00:12:46 -05:00
Chance Hudson
78639abef4 chore: test light rollup tree against external implementation 2021-08-03 00:12:27 -05:00
sifnoc
6ec617612a fix: subTrees arrays 2021-07-13 20:56:44 +09:00
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