Naive fix for sending sized messages#2098
Naive fix for sending sized messages#2098serban300 wants to merge 4 commits intoparitytech:masterfrom
Conversation
It's safer like this since here are some errors that aren't caught when using native execution
In ideal world it needs to be the maximal possible (i.e. There's a lot of assumptions in the code. E.g. the But rhe code you're referencing is about a different situation. This is for cases when messages are sent from the chain where max transaction size is lesser than So I suggest to try to use message generation infrastructure from #2064, but use the |
Ok, thank you for the details ! Makes sense. I will try to fix this then. |
|
Closing this PR for the moment and will open a new one later. |
Fix sized messages by adding an estimated xcm executor overhead.
This can be just a temporary fix, or if it's good enough we can leave it like this. @svyatonik what do you think ? How precise does the payload size need to be ? I see that we already have other estimation here for example.