@@ -17,7 +17,7 @@ async function main() {
1717
1818 const gasParams = {
1919 gasPrice : feeData . gasPrice ! . mul ( '2' ) ,
20- gasLimit : 5000000
20+ gasLimit : 4500000
2121 } ;
2222 const walletTxCount = await walletDeployer . getTransactionCount ( ) ;
2323
@@ -34,27 +34,27 @@ async function main() {
3434 console . log ( `Self transaction with nonce: ${ i } complete` ) ;
3535 }
3636
37- const walletImplementationContractName = 'AvaxcWalletSimple' ;
37+ // const walletImplementationContractName = 'AvaxcWalletSimple';
3838 const walletFactoryContractName = 'WalletFactory' ;
3939
40- const WalletImplementation = await ethers . getContractFactory (
41- walletImplementationContractName ,
42- walletDeployer
43- ) ;
44- const walletImplementation = await WalletImplementation . deploy ( gasParams ) ;
45- await walletImplementation . deployed ( ) ;
46- output . walletImplementation = walletImplementation . address ;
47- console . log (
48- `${ walletImplementationContractName } deployed at ` +
49- walletImplementation . address
50- ) ;
40+ // const WalletImplementation = await ethers.getContractFactory(
41+ // walletImplementationContractName,
42+ // walletDeployer
43+ // );
44+ // const walletImplementation = await WalletImplementation.deploy(gasParams);
45+ // await walletImplementation.deployed();
46+ // output.walletImplementation = walletImplementation.address;
47+ // console.log(
48+ // `${walletImplementationContractName} deployed at ` +
49+ // walletImplementation.address
50+ // );
5151
5252 const WalletFactory = await ethers . getContractFactory (
5353 walletFactoryContractName ,
5454 walletDeployer
5555 ) ;
5656 const walletFactory = await WalletFactory . deploy (
57- walletImplementation . address ,
57+ '0xE8E847cf573Fc8ed75621660A36AffD18c543d7E' ,
5858 gasParams
5959 ) ;
6060 await walletFactory . deployed ( ) ;
@@ -122,19 +122,19 @@ async function main() {
122122
123123 // We have to wait for a minimum of 10 block confirmations before we can call the etherscan api to verify
124124
125- await walletImplementation . deployTransaction . wait ( 10 ) ;
125+ // await walletImplementation.deployTransaction.wait(10);
126126 await walletFactory . deployTransaction . wait ( 10 ) ;
127127 await forwarderImplementation . deployTransaction . wait ( 10 ) ;
128128 await forwarderFactory . deployTransaction . wait ( 10 ) ;
129129
130130 console . log ( 'Done waiting, verifying' ) ;
131- await verifyContract (
132- walletImplementationContractName ,
133- walletImplementation . address ,
134- [ ]
135- ) ;
131+ // await verifyContract(
132+ // walletImplementationContractName,
133+ // walletImplementation.address,
134+ // []
135+ // );
136136 await verifyContract ( 'WalletFactory' , walletFactory . address , [
137- walletImplementation . address
137+ '0xE8E847cf573Fc8ed75621660A36AffD18c543d7E'
138138 ] ) ;
139139
140140 await verifyContract (
0 commit comments