-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport #5712 into `stable2409` from franciscoaguirre. Now the XCM emulator has a log every time `execute_with` is called, to know which chain is being used. Also, the logs for UMP, DMP, HRMP processing were included in the `xcm` log filter and changed from showing the message as an array of bytes to a hex string. This means running the tests with `RUST_LOG=xcm` should give you everything you need, you can always filter by `RUST_LOG=xcm::hrmp` or any other if you need it. Co-authored-by: Francisco Aguirre <[email protected]>
- Loading branch information
1 parent
e0c341a
commit 56ce901
Showing
4 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: Better logs for XCM emulator | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
Now the XCM emulator has a log every time `execute_with` is called, to know | ||
which chain is being used. | ||
Also, the logs for UMP, DMP, HRMP processing were included in the `xcm` log filter | ||
and changed from showing the message as an array of bytes to a hex string. | ||
This means running the tests with `RUST_LOG=xcm` should give you everything you need, | ||
you can always filter by `RUST_LOG=xcm::hrmp` or any other if you need it. | ||
|
||
crates: | ||
- name: xcm-emulator | ||
bump: patch |