-
Notifications
You must be signed in to change notification settings - Fork 528
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audit fixes: account and evolving-nft (#487)
* Fix: [M-1] EntryPoint contract can change * Fix: [M-2] Use of forbidden TIMESTAMP op-code * [M-3] Scores using multiplicative rules for ERC20s can be inflated * Fix [M-4] Shared metadata will get out of order when deleting metadata * uncomment tests * Fix [L-1] Unable to upgrade receive() * Fix [L-2] Cannot remove upgradability without revoking all default admins * Fix: [Q-1] Duplicate code * Fix [L-3] isValidSignature should be upgradable * [Q-1]: Remove initialize from Account + Fix [L-4] Invalid accounts can register with Account factories * Fix [Q-2] Duplicate comment * Fix [Q-3] Constant MAX_BPS is not used * Fix [Q-4] Mistyped functions * Fix [Q-6] Inaccurate comment * Fix [Q-7] _setPlatformFeeType() is not used * Fix [Q-8] Spelling mistakes * Fix [Q-9] Duplicate Import * Fix (again) [Q-8] Spelling mistakes * Fix [G-1] platformFeeType can share a storage slot * Fix pt2 [M-3] Scores using multiplicative rules for ERC20s can be inflated * UPdate Fix for M-3 * Fix M-3: remove redundant code * Add missing EIP-1271 isValidSignature to Account * Add missing receive() to non-upgradeable Account * Fix EvolvingNFT tests * Remove receive fn from ManagedAccountFactory * Use internal function to access state * dynamic-contracts deps temp * Update dynamic-contracts deps * Fix test * Use extension role in managed account factory * Use dynamic-contracts v1.2.1
- Loading branch information
Showing
51 changed files
with
2,084 additions
and
2,027 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.