diff --git a/prdoc/pr_6643.prdoc b/prdoc/pr_6643.prdoc index 6833fd7cab0d..5173ce6b3786 100644 --- a/prdoc/pr_6643.prdoc +++ b/prdoc/pr_6643.prdoc @@ -3,8 +3,7 @@ doc: - audience: Runtime Dev description: |- Removing the `require_weight_at_most` parameter in V5 Transact introduced a problem when converting a message from V5 to V4 to send to chains that didn't upgrade yet. The local chain doesn't know how to decode call for remote chain so it can't automatically populate `require_weight_at_most` required by V4 Transact. - - To fix this, I added back the weight in the form of an `Option` called `fallback_max_weight`. This can be set to `None` if you don't intend to deal with a chain that hasn't upgraded yet. If you set it to `Some(_)`, the behaviour is the same. The plan is to totally remove this in V6 since there will be a good conversion path from V6 to V5. + To fix this, XCM v5 Transact now also takes a `fallback_max_weight: Option` parameter. This can be set to `None` if the instruction is not meant to be sent to chains running XCM versions lower than V5. If set to `Some(w)`, a subsequent conversion to V4 will result in `Transact { require_weight_at_most: w, .. }`. The plan is to remove this workaround in V6 since there will be a good conversion path from V6 to V5. crates: - name: snowbridge-router-primitives bump: major