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: avoid possible memory corruption by using OZ EnumerableSet #72

Open
wants to merge 2 commits into
base: fix/oz-audit
Choose a base branch
from

Conversation

xorsal
Copy link
Contributor

@xorsal xorsal commented Dec 12, 2024

🤖 Linear

Closes OPT-566

Copy link

linear bot commented Dec 12, 2024

@defi-wonderland defi-wonderland deleted a comment from linear bot Dec 12, 2024
@@ -154,7 +146,7 @@ contract Oracle is IOracle, OracleAccessController {
}
isParticipant[_requestId][_response.proposer] = true;
IResponseModule(_request.responseModule).propose(_request, _response, _accessControl.user);
_responseIds[_requestId] = abi.encodePacked(_responseIds[_requestId], _responseId);
_responseIds[_requestId].add(_responseId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK if we are good doing somthing like this. Should we create first the bytes32 and after that added, instead of added having a data

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.

2 participants