Banking Stage drops transactions that'll exceed the total account data size limit (#23537)
This commit is contained in:
@@ -1108,7 +1108,8 @@ impl Accounts {
|
||||
| Err(TransactionError::WouldExceedMaxBlockCostLimit)
|
||||
| Err(TransactionError::WouldExceedMaxVoteCostLimit)
|
||||
| Err(TransactionError::WouldExceedMaxAccountCostLimit)
|
||||
| Err(TransactionError::WouldExceedMaxAccountDataCostLimit) => None,
|
||||
| Err(TransactionError::WouldExceedAccountDataBlockLimit)
|
||||
| Err(TransactionError::WouldExceedAccountDataTotalLimit) => None,
|
||||
_ => Some(tx.get_account_locks_unchecked()),
|
||||
})
|
||||
.collect();
|
||||
|
Reference in New Issue
Block a user