11// SPDX-License-Identifier: MIT
22pragma solidity 0.8.28 ;
3+
34import {ArbWasm} from "../precompiles/ArbWasm.sol " ;
45
56/// @title A Stylus contract deployer, activator and initializer
@@ -74,7 +75,7 @@ contract StylusDeployer {
7475 // initialize - this will fail if the program wasn't activated by this point
7576 // we check if initData exists to avoid calling contracts unnecessarily
7677 if (initData.length != 0 ) {
77- (bool success , ) = address (newContractAddress).call {value: initValue}(initData);
78+ (bool success ,) = address (newContractAddress).call {value: initValue}(initData);
7879 if (! success) {
7980 revert ContractInitializationError (newContractAddress);
8081 }
@@ -91,7 +92,7 @@ contract StylusDeployer {
9192 if (bal != 0 ) {
9293 // the caller must be payable, even if they dont expect to receive any balance since it value can be forced into
9394 // this contract via selfdestruct
94- (bool sent , ) = payable (msg .sender ).call {value: bal}("" );
95+ (bool sent ,) = payable (msg .sender ).call {value: bal}("" );
9596 if (! sent) {
9697 revert RefundExcessValueError (bal);
9798 }
@@ -119,7 +120,9 @@ contract StylusDeployer {
119120 }
120121
121122 /// @notice Checks whether a contract requires activation
122- function requiresActivation (address addr ) public view returns (bool ) {
123+ function requiresActivation (
124+ address addr
125+ ) public view returns (bool ) {
123126 // currently codeHashVersion returns an error when codeHashVersion != stylus version
124127 // so we do a try/catch to to check it
125128 uint16 codeHashVersion;
0 commit comments