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

MOROFT audit fixes #32

Merged
merged 1 commit into from
Apr 26, 2024
Merged

MOROFT audit fixes #32

merged 1 commit into from
Apr 26, 2024

Conversation

FedokDL
Copy link
Collaborator

@FedokDL FedokDL commented Apr 25, 2024

Regarding N01: Missing Docstrings, add a comment on mint function stating that only minter role should be able to call it.

Additionally, I believe there has been a confusion on the where the docstrings should be, we wanted to have the docstring in IMOROFT interface referenced in the MOROFT contract, with an additional comment on the mint functionality.
I don't see the need of removing docstrings from the interface which is done in this PR: https://github.com/MorpheusAIs/SmartContracts/pull/29/files#diff-7df3d98a493a8bcb1628ca6472bcf17af9f8efd67896f7db463a9a713a669358

The best way to move forward is to have the docstrings in the interface and let the inherting contracts inherit the docstrings, any additional information on function implementations should be present in the docstrings of the inheriting contract. This is not a high priority finding so I will leave it up to your team to decide how you want to proceed with this.

@FedokDL FedokDL self-assigned this Apr 25, 2024
@RuslanProgrammer RuslanProgrammer merged commit fca5e22 into main Apr 26, 2024
@RuslanProgrammer RuslanProgrammer deleted the fix/audit-fixes-2 branch April 26, 2024 08:34
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

Successfully merging this pull request may close these issues.

None yet

2 participants