-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
var latestBlockHeight uint64 | ||
if l.isOpCrossChain() { | ||
// currently Get finalized block is not support by OPBNB yet | ||
latestBlockHeight, err = l.bscExecutor.GetLatestBlockHeightWithRetry() |
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.
do we need to add more blocks for finality of opbnb
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.
This is done is the voteProcessor, num of blocks will be waited before broadcasting vote
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.
for opbnb, we consider it as one block finality.
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.
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.
$
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: