Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/api/optimisticL2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export type OptimisticL2OutputRootsResponse = {
};
};

export type OptimisticL2BatchDataContainer = 'in_blob4844' | 'in_celestia' | 'in_calldata';
export type OptimisticL2BatchDataContainer = 'in_blob4844' | 'in_celestia' | 'in_calldata' | 'in_eigenda';

export type OptimisticL2TxnBatchesItem = {
number: number;
Expand Down
3 changes: 1 addition & 2 deletions ui/marketplace/essentialDapps/revoke/Revoke.pw.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';

import * as opSuperchainMock from 'mocks/multichain/opSuperchain';
import type { TestFnArgs } from 'playwright/lib';
import { test, expect } from 'playwright/lib';

import Revoke from './Revoke';
Expand All @@ -10,7 +9,7 @@ const ESSENTIAL_DAPPS_CONFIG = JSON.stringify({
revoke: { chains: [ opSuperchainMock.chainDataA.id ] },
});

test('base view +@dark-mode +@mobile', async({ render, mockEnvs, mockEssentialDappsChainsConfig, mockAssetResponse }: TestFnArgs) => {
test('base view +@dark-mode +@mobile', async({ render, mockEnvs, mockEssentialDappsChainsConfig, mockAssetResponse }) => {
await mockEnvs([
[ 'NEXT_PUBLIC_MARKETPLACE_ENABLED', 'true' ],
[ 'NEXT_PUBLIC_MARKETPLACE_ESSENTIAL_DAPPS_CONFIG', ESSENTIAL_DAPPS_CONFIG ],
Expand Down
6 changes: 6 additions & 0 deletions ui/shared/batch/OptimisticL2TxnBatchDA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ const OptimisticL2TxnBatchDA = ({ container, isLoading, ...rest }: Props) => {
return 'Calldata';
case 'in_celestia':
return 'Celestia blob';
case 'in_eigenda':
return 'EigenDA';
}
})();

if (!text) {
return null;
}

return (
<Badge colorPalette="yellow" loading={ isLoading } { ...rest }>
{ text }
Expand Down
Loading