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

refactor: migrate integration tests to paseo #139

Merged
merged 6 commits into from
Aug 6, 2024

Conversation

evilrobot-01
Copy link
Collaborator

Migrates integration tests to use the Paseo runtime.

IMPORTANT NOTE: switching this dependency means we are effectively stuck on SDK 1.7 until Paseo updates. The runtimes at https://github.com/polkadot-fellows/runtimes have been updated to 1.13 recently in main, but no release has been generated yet. Should we wish to update the SDK version we use, we can simply replace the paseo dependencies with the corresponding runtimes from https://github.com/polkadot-fellows/runtimes. I am doing this in another project for now.

Closes #138

@evilrobot-01 evilrobot-01 requested review from Daanvdplas, al3mart and peterwht and removed request for Daanvdplas July 27, 2024 15:07
@evilrobot-01 evilrobot-01 force-pushed the frank/paseo-integration-tests branch from f8ff45f to d116ab1 Compare July 27, 2024 15:29
integration-tests/src/chains/paseo/genesis.rs Outdated Show resolved Hide resolved
runtime/devnet/src/config/xcm.rs Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Jul 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.30%. Comparing base (e403ef4) to head (cee8d1e).
Report is 1 commits behind head on main.

@@          Coverage Diff          @@
##            main    #139   +/-   ##
=====================================
  Coverage   3.30%   3.30%           
=====================================
  Files         30      30           
  Lines       6843    6843           
  Branches    6843    6843           
=====================================
  Hits         226     226           
  Misses      6617    6617           
Files Coverage Δ
runtime/devnet/src/config/xcm.rs 0.00% <ø> (ø)
runtime/testnet/src/config/xcm.rs 0.00% <ø> (ø)

Copy link
Collaborator

@al3mart al3mart left a comment

Choose a reason for hiding this comment

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

As mentioned, the RelayNetwork could be convenient to address now if we believe that we will hit that versioning constrain sometime soon. Note that Paseo follows Polkadot's enacted runtime versions.

That said, it should be most likely for Paseo to change its xcm configuration to use something as NetworkId::Paseo than a regenesis of the network.

@evilrobot-01
Copy link
Collaborator Author

I was more concerned whether using this value might one day cause sending xcm messages on a local testnet to fail, if the paseo-local relay genesis block is set by zombienet for example, based on some network configuration file.

Whilst using ByGenesis is more accurate for the live paseo testnet, using this approach *may* prevent any local test networks from working, if zombienet config results in a different genesis block for example.
@chungquantin chungquantin mentioned this pull request Aug 4, 2024
4 tasks
@Daanvdplas Daanvdplas merged commit 85a7218 into main Aug 6, 2024
8 checks passed
@Daanvdplas Daanvdplas deleted the frank/paseo-integration-tests branch August 6, 2024 08:10
@chungquantin chungquantin mentioned this pull request Aug 12, 2024
4 tasks
chungquantin pushed a commit to chungquantin/pop-node that referenced this pull request Aug 12, 2024
@chungquantin chungquantin mentioned this pull request Aug 12, 2024
4 tasks
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.

chore: update integration tests to paseo
4 participants