-
Notifications
You must be signed in to change notification settings - Fork 43
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
Non-reentrant DAO executor #355
Conversation
8d856cc
to
630a3c9
Compare
630a3c9
to
2ac2262
Compare
packages/contracts/src/core/dao/previous_versions/IDAO_v1_0_0.sol
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the files packages/contracts/src/core/dao/previous_versions/DAO_v1_0_0.sol
and packages/contracts/src/core/dao/previous_versions/IDAO_v1_0_0.sol
for?
If somebody wants to have a previous contract version they should use git to traverse to that version and not us copy pasting code
I needed it to test that the upgrade actually works and doesn't break the storage (see the test in osx/packages/contracts/test/test-utils/uups-upgradeable.ts Lines 12 to 81 in 1bf1798
does check that the storage isn't broken. Any better way to do it? Testing against the network forks (mainnet) lengthens the tests a lot and we don't have a list of previous versions, only the active ones. |
…ory calls and added missing awaits
…358-nonreentrant-executor
…reentrant-executor
df45432
to
649732b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR add a
nonReentrant
modifier to theDAO.sol
execute
function.Task: OS-358
Type of change
Checklist:
CHANGELOG.md
file in the root folder.