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: implement cross chain and oracle modules #42

Merged
merged 50 commits into from
Jan 16, 2023
Merged

feat: implement cross chain and oracle modules #42

merged 50 commits into from
Jan 16, 2023

Conversation

yutianwu
Copy link
Collaborator

@yutianwu yutianwu commented Nov 14, 2022

Description

This pr implements two modules: crosschain and oracle:

  • crosschain: Thecrosschain module manages the cross-chain packages created by other modules. It also maintains all the receive and send sequences of each channel. Othe modules can register their cross-chain apps to crosschain module, so that the cross-chain package from BSC can be dispatched to their apps and processed properly.

  • oracle: Theoracle module processes OracleClaim messages from relayers. The OracleClaim messages are relayed from BSC which will be processed by the cross-chain app of the specific module. If the relayer is not in turn, the message will be rejected. The oracle module will also check the BLS signature of the signed relayers, if the proportion of signed relayers don't reach the threshold of 2/3, it will also be rejected.

Changes

  • implement crosschain and oracle module

@yutianwu yutianwu changed the title [WIP] ibc: implement ibc module [WIP] crosschan/oralce: implement cross chain and oracle moudles Nov 23, 2022
bsc/rate.go Outdated Show resolved Hide resolved
types/cross_chain.go Outdated Show resolved Hide resolved
types/tokens.go Outdated Show resolved Hide resolved
@yutianwu yutianwu force-pushed the add_ibc branch 2 times, most recently from 8f36e43 to 2f18dd5 Compare December 21, 2022 03:24
@yutianwu yutianwu force-pushed the add_ibc branch 2 times, most recently from b306473 to 99de73d Compare December 29, 2022 11:59
@yutianwu yutianwu force-pushed the add_ibc branch 2 times, most recently from b1706a8 to a630100 Compare January 9, 2023 07:23
bsc/rlp/decode.go Outdated Show resolved Hide resolved
bsc/rlp/decode.go Outdated Show resolved Hide resolved
types/hex.go Outdated Show resolved Hide resolved
types/hex.go Outdated Show resolved Hide resolved
types/tokens.go Outdated Show resolved Hide resolved
@unclezoro unclezoro merged commit 9819178 into develop Jan 16, 2023
@yutianwu yutianwu deleted the add_ibc branch March 9, 2023 05:21
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.

2 participants