Configurable runtimes in ts tests for length fee changes#1585
Merged
notlesh merged 10 commits intonotlesh-length-fee-changes-moonriver-moonbeamfrom Jun 13, 2022
Merged
Conversation
1 task
crystalin
approved these changes
Jun 13, 2022
Co-authored-by: Alan Sapede <alan@purestake.com>
crystalin
approved these changes
Jun 13, 2022
notlesh
added a commit
that referenced
this pull request
Jun 14, 2022
* Bring LengthToFee changes to Moonriver and Moonbeam runtimes * Use WeightToFee from Runtime in xcm_config * Clean up * Update TRANSACTION_BYTE_FEE * Add length_fee test to moonriver and moonbeam runtimes * Remove irrelevant test * Configurable runtimes in ts tests for length fee changes (#1585) * Support running different runtimes in ts tests * Add length fee tests with different expect()s per runtime * Test runtime upgrade length fees * Some DRY * Typos * prettier * Update tests/tests/test-fees/test-length-fees.ts Co-authored-by: Alan Sapede <alan@purestake.com> * Avoid use any, prefer const over let * prettier * Avoid peer connections on moonbeam nodes in ts tests Co-authored-by: Alan Sapede <alan@purestake.com> Co-authored-by: Alan Sapede <alan@purestake.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does it do?
This PR proposes a way to configure which runtime a ts test should be run against and uses this new feature to test length fees which currently differ for each runtime.