Skip to content

assertStorageDeclarationCompatible

assertStorageDeclarationCompatible(bound, incoming): void

Defined in: packages/contracts/src/config.ts:224

Check a LATER declaration against a store’s bound resolution (ADR-0050): an unset or equal field is idempotent; an explicit field disagreeing with the bound value is a StorageDeclarationRefusedError. The bound declaration is immutable — first arrival binds, later arrivals only confirm.

ResolvedStorageDeclaration

SyncStorageDeclaration | undefined

void