Skip to content

Conversation

@Pray4Lovee
Copy link

Description

Increase the max_upward_message_size in RelayStateSproofBuilder from 256 to 1,048,576 to allow larger XCM messages during testing.
This change ensures that tests using the xcm-emulator can handle bigger messages without hitting the previous limit.

Integration

No special integration required. This is a runtime testing change and does not affect production behavior. Downstream projects can continue using RelayStateSproofBuilder as before; only test scenarios with large XCM messages will benefit.

Review Notes

Implementation is a simple increase of the constant max_upward_message_size.

No new dependencies introduced.

Example test scenario: sending an upward XCM message exceeding 256 bytes in xcm-emulator now passes.

No leftover TODOs; change is self-contained.

Checklist

My PR includes a detailed description as outlined in the "Description" and its two subsections above.

My PR follows the labeling requirements (ask maintainers to add the appropriate label if necessary).

Documentation updated if applicable (not required for this testing change).

Tests added or updated to verify the increased max_upward_message_size.

Increased the `max_upward_message_size` in `RelayStateSproofBuilder` to allow for larger XCM messages during testing.
Copy link
Author

@Pray4Lovee Pray4Lovee left a comment

Choose a reason for hiding this comment

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

LGTM

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.

1 participant