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

[R4R] Refactor cross chain architecture #13

Merged
merged 28 commits into from
Jun 23, 2020
Merged

Conversation

HaoyangLiu
Copy link
Contributor

@HaoyangLiu HaoyangLiu commented Jun 10, 2020

@HaoyangLiu HaoyangLiu force-pushed the cross-chain-contract branch 5 times, most recently from dac6a47 to 4faa3e1 Compare June 11, 2020 09:42
@HaoyangLiu HaoyangLiu requested a review from unclezoro June 12, 2020 02:22
HaoyangLiu and others added 9 commits June 12, 2020 11:03
fix bug

fix relay fee

rebase

fix compile issue

add chainid to event
bugfix and fix failed tokenhub unit tests

fix payload encoding in crosschain contract

fix syncFee in approveBind

fix wrong amount in transferOut

update abis
…hanism (#14)

* update bsc validator set

* update for encode/decode of gov/validator/slash

* update template

* update testcase

* update testcase

* fix cases

* update testcase

* update

* update
@HaoyangLiu HaoyangLiu force-pushed the cross-chain-contract branch 2 times, most recently from ae7f134 to d9986c7 Compare June 12, 2020 03:12
@HaoyangLiu HaoyangLiu force-pushed the cross-chain-contract branch from d9986c7 to fc9bb52 Compare June 12, 2020 03:13
@HaoyangLiu HaoyangLiu changed the title WIP: Refactor cross chain architecture R4R: Refactor cross chain architecture Jun 12, 2020
HaoyangLiu and others added 3 commits June 12, 2020 12:24
* fix lint

* fix compile error

* only keep single relayer fee

* update
@HaoyangLiu HaoyangLiu changed the title R4R: Refactor cross chain architecture WIP: Refactor cross chain architecture Jun 15, 2020
HaoyangLiu and others added 3 commits June 16, 2020 11:33
* improve tokenhub test

* unify error code and fix failed unittests

* add oracle sequence

* modify miniToken checker
HaoyangLiu and others added 7 commits June 16, 2020 15:57
* add onlyInit to public write method

* tokenhub payable and rename event

* move all library to lib

* split tokenhub into two contract

* change sync to syn

* transfer relayFee to tokenHUb

* add case for payload header

Co-authored-by: fudongbai <296179868@qq.com>
* mark some methods as read only

* update abis and detail bind failure reason
* simplify bind parameters verification

* fix bug in BNB refund amount calculation

* modify peggy amount calculation

* ensure tokenhub balance is less than locked amount
@yutianwu yutianwu force-pushed the cross-chain-contract branch from 3220e18 to 0eb51dc Compare June 19, 2020 07:34
HaoyangLiu and others added 2 commits June 23, 2020 15:59
* add bindSuccess and bindFailure event

* enable more relayFee
* improve indent

* add additional improvements

* update genesis.json

* fix some other files

Co-authored-by: fudongbai <296179868@qq.com>
@unclezoro unclezoro changed the title WIP: Refactor cross chain architecture [R4R] Refactor cross chain architecture Jun 23, 2020
@unclezoro unclezoro merged commit 6f548e1 into develop Jun 23, 2020
@HaoyangLiu HaoyangLiu mentioned this pull request Jul 3, 2020
@unclezoro unclezoro deleted the cross-chain-contract branch July 31, 2020 06:06
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.

3 participants