diff --git a/src/experimental/createArbitrumClient.ts b/src/experimental/createArbitrumClient.ts index 5138f88f8..eb30876ed 100644 --- a/src/experimental/createArbitrumClient.ts +++ b/src/experimental/createArbitrumClient.ts @@ -16,7 +16,7 @@ export type ArbitrumClients = { parentPublicClient: PublicClient childPublicClient: PublicClient & ArbitrumDepositActions parentWalletClient: WalletClient & ArbitrumParentWalletActions - childWalletClient: WalletClient + childWalletClient?: WalletClient } export type CreateArbitrumClientParams = { @@ -25,7 +25,7 @@ export type CreateArbitrumClientParams = { parentRpcUrl?: string childRpcUrl?: string parentWalletClient: WalletClient - childWalletClient: WalletClient + childWalletClient?: WalletClient } export function createArbitrumClient({ diff --git a/tests/integration/arbitrumDepositActions.test.ts b/tests/integration/arbitrumDepositActions.test.ts index 98125432d..fd5c72929 100644 --- a/tests/integration/arbitrumDepositActions.test.ts +++ b/tests/integration/arbitrumDepositActions.test.ts @@ -13,12 +13,15 @@ import { describe('arbitrumDepositActions', function () { let localEthChain: Chain let localArbChain: Chain + let setup: Awaited> before(async function () { - const setup = await testSetup() + setup = await testSetup() localEthChain = setup.localEthChain localArbChain = setup.localArbChain + }) + beforeEach(async function () { await fundParentSigner(setup.parentSigner) if (isArbitrumNetworkWithCustomFeeToken()) { await fundParentCustomFeeToken(setup.parentSigner)