You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sunnya97 pointed out that under the current design, there is a way to attack the chain: do some very heavy computations in the Before/AfterTx hooks, then throw an error to make the tx fail. Since the tx fails, no gas fee will be paid, but the nodes have been put under heavy loads. A solution to this is to have a max gas cap in the sudo contract calls.
The text was updated successfully, but these errors were encountered:
@sunnya97 pointed out that under the current design, there is a way to attack the chain: do some very heavy computations in the Before/AfterTx hooks, then throw an error to make the tx fail. Since the tx fails, no gas fee will be paid, but the nodes have been put under heavy loads. A solution to this is to have a max gas cap in the sudo contract calls.
The text was updated successfully, but these errors were encountered: