@@ -39,7 +39,6 @@ async function main() {
3939 deployForwarderContracts = false ;
4040 const [ deployer ] = await ethers . getSigners ( ) ;
4141 const txCount = await deployer . getTransactionCount ( ) ;
42-
4342 if ( txCount === 1 || txCount === 3 ) {
4443 throw Error ( 'Cannot deploy contracts, please update the script' ) ;
4544 }
@@ -183,6 +182,12 @@ async function main() {
183182 case 1868 :
184183 //Somnia
185184 case 50312 :
185+ eip1559GasParams . gasLimit = 5000000 ;
186+ walletImplementationContractName = 'WalletSimple' ;
187+ forwarderContractName = 'ForwarderV4' ;
188+ forwarderFactoryContractName = 'ForwarderFactoryV4' ;
189+ contractPath = `contracts/${ walletImplementationContractName } .sol:${ walletImplementationContractName } ` ;
190+ break ;
186191 //Songbird
187192 case 19 :
188193 case 16 :
@@ -245,6 +250,8 @@ async function main() {
245250 console . log ( '⛽ Gas params:' , gasParams ) ;
246251 const balance = await deployer . getBalance ( ) ;
247252 console . log ( '💰 Balance:' , ethers . utils . formatEther ( balance ) , 'ETH' ) ;
253+ const address = await deployer . getAddress ( ) ;
254+ console . log ( ' Address:' , address ) ;
248255 const walletSimple = await WalletSimple . deploy ( gasParams ) ;
249256 console . log ( '📤 TX hash:' , walletSimple . deployTransaction . hash ) ;
250257 console . log ( '⏳ Waiting for confirmation...' ) ;
0 commit comments