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: support OPBNB cross-chain #98

Merged
merged 6 commits into from
Nov 14, 2023
Merged

feat: support OPBNB cross-chain #98

merged 6 commits into from
Nov 14, 2023

Conversation

alexgao001
Copy link
Collaborator

Description

Modify the current relayer with minimal change to enable crosschain to OPBNB

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

var latestBlockHeight uint64
if l.isOpCrossChain() {
// currently Get finalized block is not support by OPBNB yet
latestBlockHeight, err = l.bscExecutor.GetLatestBlockHeightWithRetry()

Choose a reason for hiding this comment

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

do we need to add more blocks for finality of opbnb

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is done is the voteProcessor, num of blocks will be waited before broadcasting vote

Copy link
Contributor

Choose a reason for hiding this comment

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

for opbnb, we consider it as one block finality.

Copy link

@anewt95 anewt95 left a comment

Choose a reason for hiding this comment

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


@alexgao001 alexgao001 added this pull request to the merge queue Nov 14, 2023
Merged via the queue into master with commit ee9f492 Nov 14, 2023
4 checks passed
Copy link

@anewt95 anewt95 left a comment

Choose a reason for hiding this comment

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

$

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.

4 participants