Incomplete Adjustment of globalAmountInDynamicUse During LOC Liquidation Causes Accumulated Dust and DoS Risk
When an insolvent dynamic Letter of Credit is liquidated, the globalAmountInDynamicUse counter is reduced by the smaller liquidation amount rather than the original credited amount, leaving a residual dust value. Over many liquidations this dust accumulates and can cause new dynamic LOC creations to revert with GlobalCreditedTokenMaxInUseExceeded, effectively a denial of service.
Anvil: Letters of Credit
Informational