Skip to content

Add event field names to HRMP Event variants#1695

Merged
seadanda merged 4 commits into
masterfrom
donal-hrmp-pallet-event-structs
Sep 28, 2023
Merged

Add event field names to HRMP Event variants#1695
seadanda merged 4 commits into
masterfrom
donal-hrmp-pallet-event-structs

Conversation

@seadanda

Copy link
Copy Markdown
Contributor

This PR updates the HRMP pallet to use field names for Event variants to improve metadata for a better client experience.
Event variants are now structs instead of unnamed tuples.
Tests and benchmarks are updated, and two integration test results are also updated.

Partially implements Substrate issue 9903 which doesn't appear to have been moved to the monorepo.

@seadanda seadanda added T2-pallets This PR/Issue is related to a particular pallet. T14-system_parachains This PR/Issue is related to system parachains. labels Sep 25, 2023
@seadanda seadanda self-assigned this Sep 25, 2023
@seadanda

Copy link
Copy Markdown
Contributor Author

Double checked e2e test syntax from https://github.com/paritytech/parachains-integration-tests for the two result changes. Happy to be reviewed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet. T14-system_parachains This PR/Issue is related to system parachains.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants