Skip to content

Commit

Permalink
feat(bridge-ui): remove two step and change gasLimit (#16765)
Browse files Browse the repository at this point in the history
  • Loading branch information
KorbinianK committed Apr 24, 2024
1 parent e156112 commit 14576f7
Show file tree
Hide file tree
Showing 68 changed files with 1,836 additions and 1,725 deletions.
5 changes: 4 additions & 1 deletion packages/bridge-ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ export CONFIGURED_RELAYER=
export CONFIGURED_EVENT_INDEXER=

# Show the slow L1 bridging warning
export PUBLIC_SLOW_L1_BRIDGING_WARNING=false
export PUBLIC_SLOW_L1_BRIDGING_WARNING=false

# Fees
export PUBLIC_BASE_FEE_MULTIPLIER =
30 changes: 2 additions & 28 deletions packages/bridge-ui/__mocks__/$customToken.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
import { zeroAddress } from 'viem';
import { MOCK_ERC20, MOCK_ERC721 } from './../src/tests/mocks/tokens';

const mockERC20 = {
name: 'MockERC20',
addresses: { '1': zeroAddress },
symbol: 'MTF',
decimals: 18,
type: 'ERC20',
};

const mockERC1155 = {
name: 'MockERC1155',
addresses: { '1': zeroAddress },
symbol: 'MNFT',
balance: 1337n,
tokenId: 123,
uri: 'some/uri/123',
type: 'ERC1155',
};

const mockERC721 = {
name: 'MockERC721',
addresses: { '1': zeroAddress },
symbol: 'MNFT',
decimals: 18,
type: 'ERC721',
};

export const customToken = [mockERC20, mockERC1155, mockERC721];
export const customToken = [MOCK_ERC20, MOCK_ERC721, MOCK_ERC721];
Loading

0 comments on commit 14576f7

Please sign in to comment.