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

fix: remove initializeV2 function #228

Merged
merged 1 commit into from
Apr 17, 2024
Merged

fix: remove initializeV2 function #228

merged 1 commit into from
Apr 17, 2024

Conversation

Luisfc68
Copy link
Collaborator

What

Remove initializeV2 function from the contract and deployment scripts

Why

This function generates a vulnerability because it is not restricted to the owner of the contract, the proper solution would be to restrict it so the owner is the only one who can execute it. However, since we're dealing with contract size issues and we're planning a contract split we decided to just remove it at the moment.

Task

https://rsklabs.atlassian.net/browse/GBI-1813

Copy link

sonarcloud bot commented Apr 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@Luisfc68 Luisfc68 merged commit aa08a8b into QA-Test Apr 17, 2024
2 checks passed
@Luisfc68 Luisfc68 deleted the bugfix/GBI-1813 branch April 17, 2024 08:50
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

3 participants