- 29 Oct, 2023 40 commits
-
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
A new pure function getPrevOwnerFromList() accepts a list to search in, this avoids making an extra call which breaks expectRevert tests.
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
Rather than using an OR clause we put them inside an if statement. This allows us to clarify the error message and is more testable.
-
Maurelian authored
-
Maurelian authored
Can now easily add, remove and swap owners. Previous owner identification is handled automatically if not specified. This allows for testing errors by specifying an incorrect prevOwner.
-
Maurelian authored
Moving the multiple overriden execTransaction calls to the end is more readable. The other write operations are also now grouped together.
-
Maurelian authored
-
Maurelian authored
This also move the OwnerSimulator into the lib, which nicely abstracts that away.
-
Maurelian authored
Also make lib functions internal which removes the deploy and linking with solidity libs.
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
It was only used once.
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
This refactor removes a few different variable which were unnecessary and added to the confusion.
-
Maurelian authored
This commit introduces the ability to remove multiple owners at once in the LivenessModule.sol contract. A new function removeOwners has been added, which accepts arrays of previous owners and owners to be removed. The existing removeOwner function has been updated to use a new internal function _removeOwner. The _getPrevOwner function has been removed as it is no longer needed.
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
-
Maurelian authored
Co-authored-by:
Matt Solomon <matt@mattsolomon.dev>
-
Maurelian authored
Standardizing on the term owner rather than signer except in and around calls to _getNSigners.
-
Maurelian authored
-