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

Blocklist.sol should be rewritten for gas efficiency #3193

Open
Brando753 opened this issue Sep 1, 2022 · 0 comments
Open

Blocklist.sol should be rewritten for gas efficiency #3193

Brando753 opened this issue Sep 1, 2022 · 0 comments
Labels
Peggy Team Peggy team task Refactor Just code changes to improve, No security issues, or feature changes.

Comments

@Brando753
Copy link
Contributor

Currently, the existing blocklist.sol contract isBlocklisted(address account) function requires 3 SLOAD calls, this should be refactored to require only one as each import/export requires hitting this function.

@Brando753 Brando753 added Peggy Team Peggy team task Refactor Just code changes to improve, No security issues, or feature changes. labels Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Peggy Team Peggy team task Refactor Just code changes to improve, No security issues, or feature changes.
Projects
None yet
Development

No branches or pull requests

1 participant