Skip to content

BatcherPaymentService incomplete initialization #899

Description

@entropidelic

BatcherPaymentService does not call __Pausable_init() during the initialization of the contract. Auditors recommend calling __Pausable_init() during the initialization of the BatcherPaymentService contract to ensure
that the contract is correctly initialized.

...
contractBatcherPaymentServiceis
...
{
...
function initialize(
address_AlignedLayerServiceManager,
address_BatcherPaymentServiceOwner,
address_BatcherWallet
) public initializer {
__Ownable_init(); // default is msg.sender__UUPSUpgradeable_init();
__Pausable_init();
_transferOwnership(_BatcherPaymentServiceOwner);
AlignedLayerServiceManager = _AlignedLayerServiceManager;
BatcherWallet = _BatcherWallet;
}
...
}

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions