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

Add migration E2E test and relevant tooling. #61

Draft
wants to merge 11 commits into
base: integration
Choose a base branch
from

Conversation

zacshowa
Copy link
Member

Closes #60

This PR:

Adds the tooling needed to support a migration test in the nitro testnode, and the majority of the migration test itself.

This PR does not:

Implement the full migration test. Remaining work includes verifying via the test script that transactions are appearing in the espresso dev node.

Key places to review:

Changes to migration-test.bash as well as the associated create-espresso-integrated-nitro-node-from-local-tag.bash and create-espresso-integrated-nitro-node.bash scripts

I have been using the create-espresso-integrated-nitro-node-from-local-tag.bash script to run the test with locally built nitro docker images with the recent chain config changes. Once those changes merge, I intend to remove that script and again pull an image built from the integration branch.

In addition after the migration-test.bash script finishes, you can run the transaction-sender.bash script in the top level of the repo to send several transactions to the test-node, and then run transaction-fetcher.bash to iterate through the first 1000 views and see if transactions have made it from the nitro node to the dev node.

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.

Add migration test
1 participant