99 seedWallet ,
1010 randomAddress ,
1111 toWei ,
12- createFake ,
1312} from "../../utils/utils" ;
1413import { hubPoolFixture , enableTokensForLP } from "../fixtures/HubPool.Fixture" ;
1514import { constructSingleChainTree } from "../MerkleLib.utils" ;
@@ -121,7 +120,7 @@ describe("ZkSync Chain Adapter", function () {
121120 await zkSyncAdapter . L2_GAS_LIMIT ( ) ,
122121 await zkSyncAdapter . L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT ( ) ,
123122 [ ] ,
124- await zkSyncAdapter . l2RefundAddress ( )
123+ refundAddress . address
125124 ) ;
126125 expect ( zkSync . requestL2Transaction ) . to . have . been . calledWithValue ( l2TransactionBaseCost ) ;
127126 } ) ;
@@ -140,7 +139,7 @@ describe("ZkSync Chain Adapter", function () {
140139 tokensSendToL2 ,
141140 await zkSyncAdapter . L2_GAS_LIMIT ( ) ,
142141 await zkSyncAdapter . L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT ( ) ,
143- await zkSyncAdapter . l2RefundAddress ( ) ,
142+ refundAddress . address ,
144143 ] ;
145144 expect ( zkSyncErc20Bridge . deposit ) . to . have . been . calledWith ( ...expectedErc20L1ToL2BridgeParams ) ;
146145 expect ( zkSyncErc20Bridge . deposit ) . to . have . been . calledWithValue ( l2TransactionBaseCost ) ;
@@ -164,7 +163,7 @@ describe("ZkSync Chain Adapter", function () {
164163 await zkSyncAdapter . L2_GAS_LIMIT ( ) ,
165164 await zkSyncAdapter . L1_GAS_TO_L2_GAS_PER_PUB_DATA_LIMIT ( ) ,
166165 [ ] ,
167- await zkSyncAdapter . l2RefundAddress ( )
166+ refundAddress . address
168167 ) ;
169168 expect ( zkSync . requestL2Transaction ) . to . have . been . calledWithValue (
170169 l2TransactionBaseCost . add ( leaves [ 0 ] . netSendAmounts [ 0 ] )
0 commit comments