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

🧪 dev-test migration to Moonwall #2 #2375

Merged
merged 79 commits into from
Aug 10, 2023
Merged

Conversation

timbrinded
Copy link
Contributor

@timbrinded timbrinded commented Jun 30, 2023

What does it do?

This is the second large migration of our comprehensive dev-tests to the Moonwall test framework. It contains updates to the other half of test cases, as well as the new suites for our new features such as PoV estimation and XCM v3.

  • Migrated dev tests to Moonwall
  • Upgraded to Moonwall v4
  • Removes old dev / smoke / para tests
  • XCM test migration will be done in separate PR over (thanks @Agusrodri )

What important points reviewers should know?

I have moved existing typescript-tests into a separate archive folder so that they won't run in CI (and to make sure devs dont add new tests to this folder). Eventually we can delete these and rely on git history, but i want to keep them around for now for reference.

Is there something left for follow-up PRs?

  • Remove archived_tests folder
  • Migrate tracing tests over
  • Axe the rest of /tests folder

What value does it bring to the blockchain users?

Improved monitoring and stability of the network(s).

@timbrinded timbrinded added B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime/client code labels Jun 30, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 30, 2023

Coverage generated "Wed Aug 9 20:26:58 UTC 2023":
https://d3ifz9vhxc2wtb.cloudfront.net/pulls/2375/html/index.html

Master coverage: 87.39%
Pull coverage:

@timbrinded timbrinded changed the title 🚧 W.I.P. dev-test migration to Moonwall #2 🧪 dev-test migration to Moonwall #2 Aug 8, 2023
@timbrinded timbrinded marked this pull request as ready for review August 8, 2023 09:25
test/helpers/eth-transactions.ts Outdated Show resolved Hide resolved
test/helpers/povTests.ts Outdated Show resolved Hide resolved
test/helpers/precompiles.ts Outdated Show resolved Hide resolved
test/helpers/providers.ts Outdated Show resolved Hide resolved
test/helpers/transactions.ts Outdated Show resolved Hide resolved
@@ -48,14 +48,16 @@
"@types/yargs": "^17.0.24",
"@vitest/ui": "^0.31.4",
"@zombienet/utils": "^0.0.19",
"chalk": "^5.2.0",
"chalk": "^5.3.0",
"eth-object": "github:aurora-is-near/eth-object#master",
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is that :p

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Small library for working with eth primitives, which doesnt work in master (hence point to fork). A test uses this lib to calculate the receipt root based on the emitted logs with logic to add 0x0 if transactiontype envelope is missing (i.e. legacy).

We could fork the fork i guess? Doing it from scratch is a lot of lines for only a single test

@timbrinded timbrinded merged commit c784d12 into master Aug 10, 2023
26 checks passed
@timbrinded timbrinded deleted the timbo-migrate-dev-test-2 branch August 10, 2023 14:44
@crystalin
Copy link
Collaborator

SoExcited~GIF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any release notes D2-notlive PR doesn't change runtime/client code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants