Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

lemonmon - withdrawals: incorrect field name message #215

Closed
github-actions bot opened this issue Feb 20, 2023 · 0 comments
Closed

lemonmon - withdrawals: incorrect field name message #215

github-actions bot opened this issue Feb 20, 2023 · 0 comments
Labels
Duplicate A valid issue that is a duplicate of an issue with `Has Duplicates` label Reward A payout will be made for this issue Specification An issue related to the specification (low severity)

Comments

@github-actions
Copy link

github-actions bot commented Feb 20, 2023

lemonmon

low

withdrawals: incorrect field name message

Summary

incorrect field name message was used to refer to data

Vulnerability Detail

In the below snippet, the fields for the Withdrawal transaction data are correctly stated:
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/withdrawals.md?plain=1#L164-L170

However, in the below, to refer to the data field, the name message is used.
https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/withdrawals.md?plain=1#L200

Impact

factually incorrect information (incorrect field name)

Code Snippet

https://github.com/sherlock-audit/2023-01-optimism/blob/main/optimism/specs/withdrawals.md?plain=1#L200

Tool used

Manual Review

Recommendation

correct the name of the field

Duplicate of #213

@github-actions github-actions bot added Duplicate A valid issue that is a duplicate of an issue with `Has Duplicates` label Specification An issue related to the specification (low severity) labels Feb 20, 2023
@sherlock-admin sherlock-admin added the Reward A payout will be made for this issue label Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate A valid issue that is a duplicate of an issue with `Has Duplicates` label Reward A payout will be made for this issue Specification An issue related to the specification (low severity)
Projects
None yet
Development

No branches or pull requests

1 participant