3

a question about block limit, the amount of bytes that can be stored in each block. From what i can gather this value can be changed Here, However when i change the 5 to lets say 20 (5mb to 20mb) I still get (Invalid Transaction: Transaction would exhaust the block limits) error at the same amount of transactions. Just for clarification I am using the utility pallet for batching these transactions. So im guessing there is something else that must be done to increase block size!

1 Answer 1

5

You not only need to allow the block to get bigger, you also need to allow a higher BlockWeights. The BlockWeights is a parameter given to the frame_system::Config trait. It defines the amount of weight you allow per transaction type. If you don't increase that, you will not be able to push more transactions per block.

Your Answer

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

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