We're trying to upload a Rococo fork, it seems that Rococo doesn't have pallet_scheduler out the box, so we don't have that option.

1010: Invalid transaction:
Transaction would exhaust the block limits

I'm using the rococo_runtime.compact.compressed.wasm bin which is only 971KB.

Is there anyway we can force the upgrade?

1 Answer 1


Put through the upgrade with sudo.sudoUncheckedWeight instead of sudo.sudo.

If using the apps UI, the sudo page does have a toggle to swap this this second call aka the "with weight override" toggle enables this call to be used.

  • Thank you that worked. I used the setSudoWithoutChecks(code) extrinsic. I nominally added weight as 1. Does it matter what weight is added there? assuming the "without check" overlooks it anyway. Commented Apr 6, 2022 at 9:02
  • You bypass the weight check and specify your own, so it can be nominal. Here is a link to the Substrate implementation & description for it - github.com/paritytech/substrate/blob/…
    – Jaco
    Commented Apr 6, 2022 at 9:25
  • Here is a previous question with JS code around the same execution strategy - substrate.stackexchange.com/questions/1253/… Commented Apr 6, 2022 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.