Skip to content

Commit 2e10813

Browse files
committed
fix: clarify data service initialization modes (TRST-L01)
Signed-off-by: Tomás Migone <[email protected]>
1 parent def8026 commit 2e10813

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/horizon/contracts/data-service/DataService.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import { ProvisionManager } from "./utilities/ProvisionManager.sol";
2525
* - If the data service implementation is NOT upgradeable, it must initialize the contract by calling
2626
* {__DataService_init} or {__DataService_init_unchained} in the constructor. Note that the `initializer`
2727
* will be required in the constructor.
28+
* - Note that in both cases if using {__DataService_init_unchained} variant the corresponding parent
29+
* initializers must be called in the implementation.
2830
*/
2931
abstract contract DataService is GraphDirectory, ProvisionManager, DataServiceV1Storage, IDataService {
3032
/**

0 commit comments

Comments
 (0)