BlockDurationTooShort

Error v273 → current 27.4

The duration between the current block and the end block is shorter than the required minimum. Crowdloans must run for at least MinimumBlockDuration blocks.

Encountered by: developers

Why This Error Exists

Crowdloans must run for a minimum duration to give contributors meaningful time to participate.

From Chain Metadata

The crowdloan block duration is too short.

What This Means

The duration between the current block and the end block is shorter than the required minimum. Crowdloans must run for at least MinimumBlockDuration blocks.

Common Causes

  • End block is too close to the current block
  • Duration does not meet the MinimumBlockDuration requirement

How to Fix

  • Extend the end block further into the future
  • Check MinimumBlockDuration for the minimum allowed campaign length
  • Calculate: end_block >= current_block + MinimumBlockDuration

Storage to Check

System.Number (removed)Crowdloan.Crowdloans

Runtime Info

Pallet Index
27
Error Index
4
Error Code
27.4
Runtime Version
v393