Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Oct 16, 2024
1 parent d05d7b1 commit 0e3e06c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/createRollup.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,13 @@ describe(`create an AnyTrust chain that uses a custom gas token`, async () => {
// assert the core contracts were successfully obtained
expect(createRollupInformation.coreContracts).toBeDefined();
});

it(`finds the transaction hash that created a specified deployed rollup contract`, async () => {
const transactionHash = await createRollupFetchTransactionHash({
rollup: createRollupInformation.coreContracts.rollup,
publicClient: parentChainPublicClient,
});

expect(transactionHash).toEqual(createRollupInformation.transactionReceipt.transactionHash);
});
});
2 changes: 1 addition & 1 deletion src/createRollupGetRetryablesFees.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ it('successfully fetches retryable fees for an eth-based chain', async () => {
expect(fees).toBeGreaterThanOrEqual(124708400000000000n);
});

it.only('successfully fetches retryable fees for a custom gas token chain', async () => {
it('successfully fetches retryable fees for a custom gas token chain', async () => {
const fees = await createRollupGetRetryablesFees(sepoliaClient, {
account: '0x38f918D0E9F1b721EDaA41302E399fa1B79333a9',
nativeToken: '0x0625afb445c3b6b7b929342a04a22599fd5dbb59',
Expand Down

0 comments on commit 0e3e06c

Please sign in to comment.