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

Fixes for ethereum bridge and json representation of batch header. #1953

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

StefanIliev545
Copy link
Contributor

@StefanIliev545 StefanIliev545 commented Jun 6, 2024

Why this change is needed

The EthereumBridge needs to call the message bus in order to send the value over to the layer 1.
The header now encodes a cross chain tree root hash in the json serialisation exposed through the external rpc

What changes were made as part of this PR

Please provide a high level list of the changes made

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link

vercel bot commented Jun 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bridge ❌ Failed (Inspect) Jun 6, 2024 7:33am

Copy link
Collaborator

@tudor-malene tudor-malene left a comment

Choose a reason for hiding this comment

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

lgtm

if err != nil {
if !errors.Is(err, errutil.ErrCrossChainBundleNoBatches) {
g.logger.Error("Unable to export cross chain bundle from enclave", log.ErrKey, err)
}
if errors.Is(err, context.DeadlineExceeded) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

so this is the fix for the load issue?

Copy link
Contributor Author

@StefanIliev545 StefanIliev545 Jun 6, 2024

Choose a reason for hiding this comment

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

No, this is just a patch to shutdown bundle exports on UAT and Dev testnet if we ever hit it

@StefanIliev545 StefanIliev545 merged commit a9485fe into main Jun 6, 2024
4 of 5 checks passed
@StefanIliev545 StefanIliev545 deleted the siliev/contract-upgrades-bridge branch June 6, 2024 08:41
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