Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Regarding SCP 7.10 #19

Open
htadashi opened this issue Jul 6, 2022 · 1 comment
Open

Regarding SCP 7.10 #19

htadashi opened this issue Jul 6, 2022 · 1 comment

Comments

@htadashi
Copy link

htadashi commented Jul 6, 2022

# Description
7.10 Verify that the external keyword is used for functions that can be called externally only to save gas.

Only changing to external will not save gas. The arguments parameters also must be changed from memory to calldata:
https://ethereum.stackexchange.com/a/107939/4630

@damianrusinek
Copy link
Contributor

Thanks for the link, we will have a look on that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants