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

SPEC: Integration testing #70

Open
5 tasks
lazovicff opened this issue Dec 23, 2021 · 0 comments
Open
5 tasks

SPEC: Integration testing #70

lazovicff opened this issue Dec 23, 2021 · 0 comments

Comments

@lazovicff
Copy link
Contributor

lazovicff commented Dec 23, 2021

Overview

We should set up a repo that will test interoperability between our ethereum and substrate Anchors.

Requirements:

  • Launch a local ethereum network and deploy contracts, leave it running in the background
  • Launch a local substrate network and leave it running in the background
  • Run a relayer

Use https://github.com/openethereum/openethereum or equivalent to connect to the ethereum chain

Use https://github.com/scs/substrate-api-client or equivalent to connect to substrate chain

Use https://github.com/webb-tools/relayer for running a relayer

Checklist

💡 Connect chains by adding edges for all tests except where explicitly specified not to.

Positive:

  • Deposit on Ethereum, withdraw on Substrate chain
  • Deposit on Substrate, withdraw on Ethereum chain

Negative:

  • Deposit on Ethereum, specify Substrate chain_id, withdraw on Ethereum, should fail
  • Deposit on Ethereum, specify Ethereum chain_id, withdraw on Substrate, should fail
  • Do not connect the Anchors, then deposit on Ethereum, withdraw on Substrate chain, should fail

This spec is WIP

@dutterbutter dutterbutter moved this to Not Started 🕧 in Webb Universe Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Not Started 🕧
Status: No status
Development

No branches or pull requests

1 participant