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

Fix Anchor synced state with chain and expose cross-chain withdraw setup #139

Merged
merged 7 commits into from
Apr 11, 2022

Conversation

nepoche
Copy link
Contributor

@nepoche nepoche commented Apr 11, 2022

This PR fixes some inconsistencies with the Anchor wrapper class and its state of latestSyncedBlock / deposit history. It also exposes a method on the Anchor class called setupBridgedWithdraw. This method is useful for clients to call when generating proofs to send to a relayer.

@nepoche nepoche requested a review from drewstone April 11, 2022 04:14
Copy link
Contributor

@drewstone drewstone left a comment

Choose a reason for hiding this comment

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

Comments above functions are inconsistently styled. Can you fix that up?

@drewstone
Copy link
Contributor

Also I'm guessing their might be a improperly awaiting promise in that test if it fails in CI. Wdyt?

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