Commit Graph

40 Commits

Author SHA1 Message Date
Wanseob Lim
cf3c8edf68 Merge branch 'misc-fixes' into feat/239 2021-07-10 13:56:33 +09:00
Chance Hudson
b9b31b07a0 fix: wait for wallet to process block, not coordinator 2021-07-08 13:31:14 -05:00
Chance Hudson
ef961a53d2 fix: log testblock data in ci to recreate build 2021-07-08 06:17:29 -05:00
Chance Hudson
2c87fb3482 fix: deposit in series using 0 fee
un-nest ternary
2021-07-07 10:54:56 -05:00
Chance Hudson
b0ad58bd6d fix: testblock generator changes, logs 2021-07-07 10:54:13 -05:00
Wanseob Lim
3523fbbe8f feat: utxo discovery + fix memo v2 deserialization 2021-07-02 01:55:20 +09:00
Chance Hudson
1ada6979e2 fix: context at top level 2021-06-09 08:09:56 -05:00
Chance Hudson
e8f6c89773 fix: BLOCK_CONFIRMATIONS env var handling 2021-06-09 08:09:55 -05:00
Chance Hudson
fb16a06cdf fix: timeout for context termination 2021-06-09 19:55:20 +09:00
Chance Hudson
e4f6e3e160 fix: reduce fee per byte to solve out of funds error 2021-06-09 19:55:20 +09:00
Chance Hudson
3151237262 fix: mass migration data test, terminate containers in testblock-generator 2021-05-27 18:05:52 -05:00
Chance Hudson
4c61ab8a4f feat: test block generator, new test blocks 2021-05-27 13:53:09 -05:00
Wanseob Lim
28bb6d67a5 refactor: apply prettier for all ts,js,sol in @zkopru/contracts package 2021-03-23 23:06:11 +09:00
Wanseob Lim
288b0655e2 fix: update poseidon hash bug 2021-03-22 16:54:21 +09:00
Chance Hudson
d30bd3734b fix: change contract creation to avoid leak 2021-01-21 13:20:49 +09:00
Chance Hudson
f8ceb3e463 fix: revert poseidon changes 2021-01-19 15:29:18 +09:00
Chance Hudson
74a90718cb fix: poseidon deployments
Uses the default truffle artifact system for deploying.
Fixes the duplicate contract name problem.
Fixes intermittent error linking Poseidon libraries to other contracts.
2021-01-18 10:51:40 +09:00
Wanseob Lim
7f64dc7ba2 refactor(contract): integrate snark validation into tx validator 2020-11-18 19:17:19 +09:00
Wanseob Lim
d9af6a706b feat: add sample burn auction contract for the consensus layer; closes #126 2020-10-26 16:55:07 +09:00
Wanseob Lim
5b2375d736 chore: listen and save Slash event to the database 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
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
4adce07bd0 feat: add challenge gas limit; closes #113 2020-10-12 14:42:03 +09:00
Wanseob Lim
7595cf7c69 refactor: upgrade circom & snarkjs
closes #42, #50, #86
2020-10-05 11:24:27 +09:00
Wanseob Lim
3304f9876d feat(contracts): single tx challenge system
closes #101
2020-09-15 14:29:26 +09:00
Wanseob Lim
e3a96572e5 fix: broken build 2020-06-07 20:25:19 +09:00
Wanseob Lim
ad1f45e29a fix(contract): proxy connector 2020-05-23 01:33:38 +09:00
Wanseob Lim
2f3980a332 refactor(contracts): use openzeppelin erc20,721 2020-05-17 02:55:13 +09:00
Wanseob Lim
9e9f769af4 feat(integration-test): add test scenarios 2020-05-12 21:37:37 +09:00
Wanseob Lim
019c0a29a5 test(contracts): deserialization library 2020-05-10 05:02:33 +09:00
Wanseob Lim
c9711d4a16 chore: fix build config 2020-05-07 19:50:38 +09:00
Wanseob Lim
c5e17db8aa chore: testnet initial commit 2020-04-26 14:35:46 +09:00
Wanseob Lim
8c1150fd22 feat: basic structure of core package 2020-04-10 02:43:29 +09:00
Wanseob Lim
09f4d646d7 refactor(contracts): make it use an existing web3 instance 2020-04-08 16:44:51 +09:00
Wanseob Lim
68ef39d8ef fix: make option param optional 2020-04-08 02:14:52 +09:00
Wanseob Lim
052c531c25 feat: test env 2020-04-08 00:59:44 +09:00
Wanseob Lim
e831c23714 refactor: contract to ts 2020-04-07 04:25:21 +09:00
Wanseob Lim
8e51766508 fix(contracts): resolve compile bug 2020-04-05 23:22:30 +09:00
Wanseob Lim
0daa2ed11e Add typescript porting script 2020-04-02 17:32:48 +09:00
Wanseob Lim
9051446a81 refactor: add contract packages from zk-optimitsic-rollup 2020-03-31 03:15:31 +09:00