-
Notifications
You must be signed in to change notification settings - Fork 17
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
base: develop
Are you sure you want to change the base?
Conversation
LeonLi000
commented
Mar 3, 2021
•
edited
Loading
edited
- multi-signature server features: simple and easy to use, can be deployed independently.
- provide two signature interfaces based on json rpc.
- some modifications have been made to the off-chain adaptation of the multi-signature server.
* 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 <[email protected]>
* 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 <[email protected]>
Co-authored-by: mkxbl <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
miss eth unsigned tx verification: https://github.com/LeonLi000/sign-server/blob/main/src/main.rs#L89
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm -rf ~/.force-bridge/ckb-rocksdb |
Hi there, can I ask what's the status of this pull request? |