BlockDurationTooLong

Error v273 → current 27.5

The duration between the current block and the end block exceeds the maximum allowed. Crowdloans cannot run longer than MaximumBlockDuration blocks.

Encountered by: developers

Why This Error Exists

Crowdloans have a maximum duration to prevent indefinitely open campaigns that lock state.

From Chain Metadata

The block duration is too long.

What This Means

The duration between the current block and the end block exceeds the maximum allowed. Crowdloans cannot run longer than MaximumBlockDuration blocks.

Common Causes

  • End block is set too far in the future
  • Duration exceeds MaximumBlockDuration

How to Fix

  • Reduce the end block to bring the duration within limits
  • Check MaximumBlockDuration for the maximum allowed campaign length

Storage to Check

System.Number (removed)Crowdloan.Crowdloans

Runtime Info

Pallet Index
27
Error Index
5
Error Code
27.5
Runtime Version
v393