Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions src/concrete/Flow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,11 @@ contract Flow is ERC721Holder, ERC1155Holder, Multicall, ReentrancyGuard, IInter
/// provide the same evaluable when they evaluate the flow.
event FlowInitialized(address sender, EvaluableV2 evaluable);

/// Forwards config to `DeployerDiscoverableMetaV2` and disables
/// initializers. The initializers are disabled because inheriting contracts
/// are expected to implement some kind of initialization logic that is
/// compatible with cloning via. proxy/factory. Disabling initializers
/// in the implementation contract forces that the only way to initialize
/// the contract is via. a proxy, which should also strongly encourage
/// patterns that _atomically_ clone and initialize via. some factory.
/// Disables initializers on the implementation contract so that any
/// usable instance is a proxy / clone that runs `initialize` exactly
/// once. Forcing this through a factory encourages the
/// atomically-clone-then-initialize pattern; a directly-deployed
/// implementation is unusable.
constructor() {
_disableInitializers();
}
Expand Down
Loading