File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 190190-  ** Error Codes** : ` DeliveryPaymentTooLow `  (EVM)
191191-  ** Code Reference** : ` _quoteDeliveryPrice() `  and payment validation
192192
193- ### INV-021: Revert On  Dust  
193+ ### INV-021: Do Not Lock Up  Dust  
194194
195- -  ** Invariant** : All cross-chain transfers should revert if  the user included more than the exact amount ( "dust") 
196- -  ** Description** : Ensures funds do not become locked in the contracts
197- -  ** Enforcement** : Amount calculations in processing
198- -  ** Error Codes** : ` TransferAmountHasDust `  (EVM)
195+ -  ** Invariant** : All cross-chain transfers must prevent  the user from overspending and locking  "dust" in the contract 
196+ -  ** Description** : Ensures funds do not become locked in the contracts if users over pay 
197+ -  ** Enforcement** : Amount calculations in processing, structs representing TrimmedAmount 
198+ -  ** Error Codes** : ` TransferAmountHasDust `  (EVM); Sui returns a separate Coin for dust; Solana uses  ` trimmed_amount `  to remove dust before a transfer 
199199
200200## Peer Management  
201201
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments