-
Notifications
You must be signed in to change notification settings - Fork 335
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 XCM DryRun
and LocationToAccount
runtime APIs to all runtimes
#2980
Conversation
* add simple wasm size check * only run on pull requests * add Github token to env * fix download dir name * try comparing previous and current runtimes * change master branch with dynamic target branch ref * add comparison to latest release * test with older release * download from release instead of workflow artifact * debug release tag not saved to env * debug some more * use gh cli to get releases instead of git tag * use gh api instead of releases * remove get build id & fix awk parsing * build runtimes with _, releases with - * add comment to PR and format msg * use markdown report & replace comment * cat report & fix comment formatting * add twiggy diff reports as artifacts * use upload v4 & create reports dir * rm: deprecated ::set-output cmd
* add: storage read cost constant * update test-pov * update xcm-v3 tests * update xcm-v4 tests * add storage read gas cost to constants * update test-precompile * load constant in beforeAll * replace gas cost with weight to gas ratio
…use (#2913) * chore: rename crate manual-xcm-rpc -> moonbeam-dev-rpc * add RPC method test_skipRelayBlocks * allow Root to resume XCM execution * update moonkit pin * add dev-test that trigger auto-pause of xcm * prettier * dev test auto-pause xcm: remove unused imports & improve test scenario * add pallet-emergency-para-xcm to moonriver * add pallet-emergency-para-xcm to moonbeam * apply review suggestions
* set the block size to 60mln gas for moonbeam * update mbip-5 value in test
* add pallet parameters * XcmFeesAccount * add copyrights * add FeesTreasuryProportion --------- Co-authored-by: Rodrigo Quelhas <[email protected]>
…ential relay slots
This reverts commit 4382107.
* Add XcmRecorder to XcmConfig * Add VersionWrapper to hrmp::COnfig * Remove code from deprecated pallet treasury * Remove code from deprecated DmpQueue * Remove code from deprecated XCMV2
WASM runtime size check:Compared to target branchMoonbase runtime: 2272 KB (no changes) ✅ Moonbeam runtime: 2240 KB (no changes) ✅ Moonriver runtime: 2236 KB (no changes) ✅ Compared to latest release (runtime-3200)Moonbase runtime: 2272 KB (+312 KB compared to latest release) Moonbeam runtime: 2240 KB (+316 KB compared to latest release) Moonriver runtime: 2236 KB (+312 KB compared to latest release) |
Coverage Report@@ Coverage Diff @@
## master agustin-xcm-dry-run-api +/- ##
===========================================================
- Coverage 79.21% 79.18% -0.03%
Files 299 299
+ Lines 87636 87673 +37
===========================================================
Hits 69419 69419
+ Misses 18217 18254 +37
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me 👍
Zombie tests are now fixed on the upgrade branch, updating this one should fix them 🌈 |
The base branch was changed.
What does it do?
This PR adds both
DryRun
andLocationToAccount
runtime APIs to Moonbase, Moonriver and Moonbeam runtimes, throughruntime/common/src/apis.rs
file. It also adds corresponding TS tests for these new APIs.Related upstream PRs