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

Create an Ethereum bridge sub-crate #923

Merged
merged 5 commits into from
Dec 20, 2022

Conversation

batconjurer
Copy link
Member

@batconjurer batconjurer commented Dec 19, 2022

This PR refactors much of Ethereum bridge out of the shared crate and into its own crate. The only things remaining in the shared crate are the implementations of the native VPs.

The QueriesExt trait has been moved to proof_of_stake and been renamed to PosQueries.

I was unable to lift any logic from core into the new subcrate as it either related to storage or txs, both of which are appropriate in core.

Note: we cannot use ferveo main until this PR is accepted

Copy link
Contributor

@sug0 sug0 left a comment

Choose a reason for hiding this comment

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

hm it's not as bad as I thought it'd be, but it'll probably still be annoying to rebase against haha

ethereum_bridge/Cargo.toml Outdated Show resolved Hide resolved
ethereum_bridge/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@tzemanovic tzemanovic left a comment

Choose a reason for hiding this comment

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

LGTM!

@batconjurer batconjurer merged commit aa54f71 into eth-bridge-integration Dec 20, 2022
@batconjurer batconjurer deleted the bat/ethbridge/subcrate-refactor branch December 20, 2022 13:23
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.

3 participants