sherlock-audit / 2023-01-optimism-judging

24 stars 10 forks source link

cergyk - Nonce non incremented on deposit tx if ErrGasLimit #312

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

cergyk

informational

Nonce non incremented on deposit tx if ErrGasLimit

Summary

https://github.com/sherlock-audit/2023-01-optimism/blob/main/op-geth/core/state_transition.go#L314

Vulnerability Detail

Nonce is not incremented, which may lead to multiple deposit transactions with the same nonce

Impact

N/A

Code Snippet

Tool used

Manual Review

Recommendation

N/A