Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dapp-lib): integrated multi-signature server #219

Open
wants to merge 160 commits into
base: develop
Choose a base branch
from

Conversation

LeonLi000
Copy link
Contributor

@LeonLi000 LeonLi000 commented Mar 3, 2021

  1. multi-signature server features: simple and easy to use, can be deployed independently.
  2. provide two signature interfaces based on json rpc.
  3. some modifications have been made to the off-chain adaptation of the multi-signature server.

LeonLi000 and others added 30 commits December 30, 2020 10:35
* feat(off-chain): add relay monitor

* feat(off-chain): add light client conservator

* feat(off-chain): remove telegram bot token

* feat(off-chain): update relay monitor with conservator list

* style(off-chain): add block in new line

* feat(off-chain): send all info once time

* style(off-chain): remove monitor in script

* style(off-chain): change find light cell way

* fix(off-chain): add light client and chain height difference

* fix(off-chain): update get live eth cell way
* fix: db locked error by increasing timeout

* add optional param for test

* change thread num

* fix retry

* fix: deploy eth contracts out of gas

* fix clippy

* fix(deploy scripts): deploy.js bug while using custom wallet, this is a bug of hardhat framework

Co-authored-by: Ethan Hu <cosinlink@163.com>
* fix(ckb-contracts): add ut

* fix(ckb-contracts): add ut for bridge typescript

* fix(ckb-contracts): new mock tests

* fix(ckb-contracts): fix clippy

* fix(ckb-contracts): bridge typescript tests

* fix(ckb-contracts): add light client tests

* fix(ckb-contracts): fix clippy

* fix(ckb-contracts): fix clippy

* fix(ckb-contracts): add recipient tests

* fix(ckb-contracts): fix test

* fix(ckb-contracts): fulfill recipient testcases

* fix(ckb-contracts): bridge test
* feat(ckb-contracts): add simple bridge typescript

* fix(ckb-contracts): fix bug to rename to simple-bridge

* feat(offchain): add simple bridge typescript

* fix clippy

* fix(demo): fix command line

* fix(ckb-contracts): add debug
…network#145)

* fix(ckb-contracts): add history merkle root for ckb contracts

* fix(ckb-contracts): update types to make bridge lock only verify merkle proof

* fix(ckb-contracts): smt tests

* fix(ckb-contracts): fix clippy

* fix(ckb-contracts): comment bridge tests

* fix(ckb-contracts): define local Hasher to avoid inporting private repo

* fix(offchain): add SMT.store rocksdb impl

* fix(ckb-contracts): use header.number and header.hash to verify smt tree

* fix(offchain): use history merkle toor to update eth light client & execute mint

* fix(offchain): modify monitor and server

* fix(offchain): add cache to rocksdb

* fix(offchain): add readonlydb and pre merkle proof check
* feat: optimize mint witness

* add doc

* chore: small refact for recipient typescript

* remove test for temp, get it back when fixed the test
* fix(ckb-contracts): new bridge capsule tests

* fix(ckb-contracts): fix testcase format
…est (nervosnetwork#140)

* feat(eth-contracts): add openzeppelin upgradeable contract demo and test

* feat(eth-contracts): add openzeppelin upgradeable CKBChainV2 and TokenLocker, tests of them

* feat(eth-contracts): add deploy-openzeppelin.js for openzeppelin upgradeable contracts

* feat(eth-contracts): remove unused code

* feat(eth-contracts): remove unused script

* fix: ci error, add --network option

* test: fix ci error

* test: fix ci error2

* feat: add new deploy.js and deploy-erc20.js for openzeppelin upgradeable contracts

* fix: ci error

* fix: add retry times to deploy.js to fix deploy proxy error

* chore: modify start-geth to restart-geth

* feat(eth-contracts/test/utils): add retryPromise, getMockTinyHeaderParam for openzeppelin upgradeable contracts

* feat: add new deploy.js and setSpecificTinyHeader.js

* feat: modify setSpecificTinyHeader

* feat: add upgrade.js script

* lint: fix

* fix: test error

* fix: ci error

* fix: ci error on hardhat config

* fix: ci error on hardhat config

* fix: ci accounts error on hardhat config

* fix: add deploy ci error info

* lint: fix

* fix: delete unused contracts to fix local-ci problem

* fix: delete unused contracts to fix local-ci problem

* fix: modify old contract name to fix name conflict problem in openzeppelin validate check

* chore: modify test contract to test folder

* chore: modify test contract name to avoid contract name conflict

* feat(eth-contracts): fix todo, replace IERC2O.transfer with safeTransfer, fix blockNumber + numConfirmations overflow in CKBChain,

* fix: remove delegateCall in Address.sol, because openzeppelin upgrades doesn't support it
* doc: step by step guide

* add toc
* add coverate test in makefile

* fix eth coverate test

* update github workflow config

* fix config problem

* fix ci

* fix ci

* fix ci

* fix ci

* move coverage test to seprate file
* fix(ckb-contracts): add simple bridge typescript tests

* fix(ckb-contracts): refactor eth recipient typescript tests

* fix(ckb-contracts): add tests for eth bridge lockscript

* fix(ckb-contracts): add eth bridge lock manage test
Co-authored-by: mkxbl <33241113+mkxbl@users.noreply.github.com>
Co-authored-by: mkxbl <33241113+mkxbl@users.noreply.github.com>
Copy link
Collaborator

@nolanxyg nolanxyg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -126,12 +126,14 @@ local-ci:
make close-dev-env
rm -rf ~/.force-bridge/eth-rocksdb
rm -rf ~/.force-bridge/ckb-rocksdb
rm -rf ~/.force-bridge/ckb-rocksdb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rm -rf ~/.force-bridge/ckb-rocksdb

@e00dan
Copy link

e00dan commented Apr 23, 2021

Hi there, can I ask what's the status of this pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants