8000 Minor informational changes in smart contracts · Issue #954 · safe-global/safe-smart-account · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Minor informational changes in smart contracts #954

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

Open
Berbex opened this issue May 4, 2025 · 1 comment
Open

Minor informational changes in smart contracts #954

Berbex opened this issue May 4, 2025 · 1 comment

Comments

@Berbex
Copy link
Berbex commented May 4, 2025

Description

It might is unnecessary for most of the developers, but consistency in smart contracts and specifically in comments could improve the code quality, in this issue I propose some improvements on the code consistency that do not affect the logic of the smart contracts but it affects the developer experience integrating or interacting with them.

Additional context

SimulateTxAccessor.sol: the 'returndata' should be 'returnData' to follow the consistency of the block comment.

FallbackManager.sol: missing '*' in comment block is not part of the pattern that set of contracts follow in the rest of the repository.

FallbackManager.sol: this line surpass the limit of line length that the other comments follow in the rest of the smart contracts.

ISafe.sol: wrong position for '@notice' statement is not part of the pattern that set of contracts follow in the rest of the repository.

Executor.sol, ModuleManager.sol and OwnerManager.sol: these contracts don't have the common line jump between the pragma statement and the imports, affecting the readability of the smart contract.

Similar to these cases are other improvements that can be considered informational, we could collect them in this issue and address them in a future PR.

@nlordell
Copy link
Collaborator
nlordell commented May 5, 2025

Thanks! We've actually noted something similar and started working on a https://github.com/safe-global/safe-smart-account/tree/doc/fixes branch to address inconsistencies in the developer documentation.

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

No branches or pull requests

2 participants
0