Skip to content

Commit

Permalink
Merge pull request #41 from symbioticfi/minor
Browse files Browse the repository at this point in the history
Docs: certora - clarify "unpredictable create2 address creation"
  • Loading branch information
1kresh authored Sep 23, 2024
2 parents 1e391f3 + bd0fbda commit 327bf64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/interfaces/common/IFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ interface IFactory is IRegistry {
* @param data initial data for the entity creation
* @return address of the entity
* @dev CREATE2 salt is constructed from the given parameters.
* However, the real parameters may differ if initialized later.
* However, the real parameters may differ if initialized later
* (not necessarily by the creator if there is no initialization during the creation's transaction).
*/
function create(uint64 type_, bool withInitialize, bytes calldata data) external returns (address);
}
3 changes: 2 additions & 1 deletion src/interfaces/common/IMigratablesFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ interface IMigratablesFactory is IRegistry {
* @param data initial data for the entity creation
* @return address of the entity
* @dev CREATE2 salt is constructed from the given parameters.
* However, the real parameters may differ if initialized later.
* However, the real parameters may differ if initialized later
* (not necessarily by the creator if there is no initialization during the creation's transaction).
*/
function create(
uint64 version,
Expand Down

0 comments on commit 327bf64

Please sign in to comment.