File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/integrationTestHelpers Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ export async function setBalanceOnL1(params: {
265265} ) {
266266 const publicClient = createPublicClient ( { transport : http ( params . rpcUrl ) } ) ;
267267 await publicClient . request ( {
268- method : 'anvil_setBalance' ,
268+ method : 'anvil_setBalance' as never ,
269269 params : [ params . address , `0x${ params . balance . toString ( 16 ) } ` ] ,
270270 } ) ;
271271}
@@ -275,12 +275,12 @@ export async function refreshForkTime(params: { rpcUrl: string }) {
275275 const now = Math . floor ( Date . now ( ) / 1000 ) ;
276276
277277 await publicClient . request ( {
278- method : 'evm_setNextBlockTimestamp' ,
279- params : [ now ] ,
278+ method : 'evm_setNextBlockTimestamp' as never ,
279+ params : [ now ] as never ,
280280 } ) ;
281281 await publicClient . request ( {
282- method : 'evm_mine' ,
283- params : [ ] ,
282+ method : 'evm_mine' as never ,
283+ params : [ ] as never ,
284284 } ) ;
285285}
286286
You can’t perform that action at this time.
0 commit comments