edr icon indicating copy to clipboard operation
edr copied to clipboard

The `MemPool` should check the sum of outstanding gas costs for an account before allowing a new transaction for that account

Open Wodann opened this issue 1 year ago • 2 comments

The MemPool currently only validates that the max cost of a transaction is not larger than the balance of the sender's account. We should ensure that the sum of balances of all queued & pending transactions + sent transaction is lower the the balance of the sender's account.

Wodann avatar Aug 03 '23 21:08 Wodann