Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(protocol): rename a state variable name in ERC20Vault #17331

Merged
merged 4 commits into from
May 25, 2024

Conversation

dantaik
Copy link
Contributor

@dantaik dantaik commented May 25, 2024

btokenBlacklist renamed to btokenDenyList as suggested by OZ: N-17 Diff-Audit: Naming Suggestions

In the ERC20Vault, the btokenBlacklist mapping keeps track of token contracts that have been replaced. Consider renaming the mapping to btokenBlocklist or btokenDenylist as a more neutral wording.

@dantaik dantaik requested review from Brechtpd and adaki2004 May 25, 2024 05:04
@dantaik dantaik marked this pull request as ready for review May 25, 2024 05:04
@dantaik dantaik enabled auto-merge May 25, 2024 05:04
Copy link

openzeppelin-code bot commented May 25, 2024

chore(protocol): rename a state variable name in ERC20Vault

Generated at commit: 70bb5fbb9331e0594ceab602cf4a402633a2fed5

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
2
0
8
42
54
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@dantaik dantaik disabled auto-merge May 25, 2024 09:39
@dantaik dantaik enabled auto-merge May 25, 2024 09:39
@dantaik dantaik requested a review from davidtaikocha May 25, 2024 09:39
@dantaik dantaik added this pull request to the merge queue May 25, 2024
Merged via the queue into main with commit af4a53b May 25, 2024
5 checks passed
@dantaik dantaik deleted the btokenBlacklist branch May 25, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants