Skip to content
Snippets Groups Projects
Unverified Commit 23d64918 authored by Dónal Murray's avatar Dónal Murray
Browse files

Fix downward message size issue in HRMP benchmark

Increase max_downward_message_size to fix force_clean_hrmp benchmark issue.
Increased to 1024. Previously it was inheriting the tests config of 8, which was
too small for the message struct. 1KiB randomly chosen as a reasonable number
which won't present issues for small changes to the message format.
parent ec1153a3
No related merge requests found
Pipeline #393205 canceled with stages
in 13 seconds
......@@ -208,6 +208,9 @@ mod benchmarks {
assert_ok!(
Configuration::<T>::set_hrmp_max_parachain_inbound_channels(frame_system::RawOrigin::Root.into(), i + 1)
);
assert_ok!(
Configuration::<T>::set_max_downward_message_size(frame_system::RawOrigin::Root.into(), 1024)
);
// .. and enact it.
Configuration::<T>::initializer_on_new_session(&Shared::<T>::scheduled_session());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment