Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(extension): init extension from factory (#527)
* The initialization of the extension should be done within the same transaction that creates the extension, that prevents malicious users from calling extension.initialize before it gets added to the DaoRegistry.sol. * All the extension factories were updated to initialize the extensions, and the extensions were updated to allow the any function call to happen during the initialization phase. * Added more tests for Factories and DaoRegistry * Reorganized DaoRegistry code, and updated the init function to save the dao payer at index 2 instead of 1. Index 1 will be used for the dao owner/creator. * Removed the extension.initialize call from registry * Updated Managing adapter
- Loading branch information